diff options
Diffstat (limited to 'data/vpx/make.sh')
-rw-r--r-- | data/vpx/make.sh | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/data/vpx/make.sh b/data/vpx/make.sh index 4a90b84fd..07366620e 100644 --- a/data/vpx/make.sh +++ b/data/vpx/make.sh @@ -1,17 +1,4 @@ pkg:setup - -# Should make patches, but these are imported from my stuff. meh. -sed -i '/die \"--enable-shared/c\true/' configure # This one skips a check -sed -i 's/arm64-darwin-gcc/aarch64-darwin-gcc/' configure # This one bypasses xcrun usage. - -# Instead of using xcrun, just set env -export CC=${PKG_TARG}-gcc -export CXX=${PKG_TARG}-g++ -export LD=${CC} -export AR=${PKG_TARG}-ar -export RANLIB=${PKG_TARG}-ranlib - -mkdir macbuild && cd macbuild - ../configure --prefix=/usr --target=aarch64-darwin-gcc - make - pkg:install +CROSS="${PKG_TARG}-" ./configure --target="${PKG_TARG}-gcc" --prefix=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix") --disable-static --enable-shared +pkg:make V=1 +pkg:install |