summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-04-03 08:36:37 -1000
committerSam Bingner <sam@bingner.com>2019-04-09 23:20:36 -1000
commit8a2f4f91276cf89765caa7f13b22bbe27ff11995 (patch)
treeef5e054e23de951ee8245eac095f7478416d8cc9
parent82b3dad300d12225940030f77fc1e110735f59f5 (diff)
Update x264 make.sh
-rw-r--r--data/x264/make.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/data/x264/make.sh b/data/x264/make.sh
index 07dfeecb4..c8be07a8b 100644
--- a/data/x264/make.sh
+++ b/data/x264/make.sh
@@ -1,7 +1,6 @@
pkg:setup
cp "${PKG_DATA}"/gas-preprocessor.pl .
# Host requires perl.
-CC=${PKG_TARG}-clang ./configure --prefix=/usr --enable-shared --disable-lsmash --enable-strip --disable-asm --host="${PKG_TARG}" --cross-prefix=${PKG_TARG}-
-make AS="./gas-preprocessor.pl -as-type clang -- ${PKG_TARG}-clang -c"
+CC="${PKG_TARG}-gcc" AS="./gas-preprocessor.pl -arch $(echo ${PKG_TARG} | sed -e 's/-.*//') -- ${PKG_TARG}-gcc" pkg:configure --enable-shared --disable-lsmash --enable-strip --cross-prefix="${PKG_TARG}-"
+pkg:make
pkg:install
-