]> git.armaanb.net Git - asd-repo.git/blobdiff - extra/x264/build
gmake: new package at 4.3
[asd-repo.git] / extra / x264 / build
index 0566078c589f132c5a240abd7d5fe9bf847c3dc6..350f644aefc385f0d8cadc34b720c735bdd362b3 100755 (executable)
@@ -3,6 +3,7 @@
 export CC="${CC:-cc}"
 export CXX="${CC:-c++}"
 
+sed -i '/cltostr/d' Makefile
 patch -p1 < x264-no-bash.patch
 
 ./configure \
@@ -10,7 +11,8 @@ patch -p1 < x264-no-bash.patch
     --disable-swscale \
     --enable-static \
     --enable-pic \
-    --enable-shared
+    --enable-shared \
+    --disable-opencl
 
-make
-make DESTDIR="$1" install
+gmake
+gmake DESTDIR="$1" install