diff options
Diffstat (limited to 'data/x264/make.sh')
-rw-r--r-- | data/x264/make.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/data/x264/make.sh b/data/x264/make.sh index 1c2bd5467..07dfeecb4 100644 --- a/data/x264/make.sh +++ b/data/x264/make.sh @@ -1,4 +1,7 @@ pkg:setup -CC=${PKG_TARG}-gcc ./configure --enable-shared --host="${PKG_TARG}" -make +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" pkg:install + |