diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-03 04:53:52 +0000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-04-09 23:20:33 -1000 |
commit | 647d3b5d29cf4edb16436de13bce00fdddcdafe7 (patch) | |
tree | 63dae47b56ae4be2807b894f20bad3e97ae7eeb4 /data/x264/make.sh | |
parent | 5e7e7d39c92f0ee040f428d814f0dbcb8c4f7266 (diff) |
x264
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 + |