diff --git a/daemon/contrib/src/x264/remove-align.patch b/daemon/contrib/src/x264/remove-align.patch new file mode 100644 index 0000000000000000000000000000000000000000..64bb928a433189130cc010570a1506ee6a21e56c --- /dev/null +++ b/daemon/contrib/src/x264/remove-align.patch @@ -0,0 +1,11 @@ +--- x264/configure 2013-03-01 16:21:59.000000000 -0500 ++++ x264patched/configure 2015-01-14 14:11:27.000000000 -0500 +@@ -456,7 +456,7 @@ + ;; + darwin*) + SYS="MACOSX" +- CFLAGS="$CFLAGS -falign-loops=16" ++ CFLAGS="$CFLAGS" + libm="-lm" + if [ "$pic" = "no" ]; then + cc_check "" -mdynamic-no-pic && CFLAGS="$CFLAGS -mdynamic-no-pic" diff --git a/daemon/contrib/src/x264/rules.mak b/daemon/contrib/src/x264/rules.mak index 6f31ecb99c7f3e347a77e00b0e77783606e80bfb..ff00dcbe9e6874738a3c3936366e789b5ac0ad01 100644 --- a/daemon/contrib/src/x264/rules.mak +++ b/daemon/contrib/src/x264/rules.mak @@ -35,6 +35,7 @@ x264: x264-git.tar.gz .sum-x264 rm -Rf $@-git mkdir -p $@-git $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1) + $(APPLY) $(SRC)/x264/remove-align.patch $(UPDATE_AUTOCONFIG) $(MOVE)