summaryrefslogtreecommitdiff
path: root/data/vpx/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-04-03 10:00:48 -1000
committerSam Bingner <sam@bingner.com>2019-04-09 23:20:36 -1000
commit730c46318c57e8a492341dfd7fd0111a6f074691 (patch)
tree160fbae5450f9602c8412512c930586a2a059686 /data/vpx/make.sh
parent8a2f4f91276cf89765caa7f13b22bbe27ff11995 (diff)
Update libvpx make.sh - still minor issue
Diffstat (limited to 'data/vpx/make.sh')
-rw-r--r--data/vpx/make.sh19
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