diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-03 04:54:04 +0000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-04-09 23:20:33 -1000 |
commit | e0b2c49d5c84ad0a46705bbcb6e41b79202d5f33 (patch) | |
tree | 8a645c3fdd347737aa759b49f288531482fc8dd6 /data/vpx/make.sh | |
parent | 647d3b5d29cf4edb16436de13bce00fdddcdafe7 (diff) |
vpx
Diffstat (limited to 'data/vpx/make.sh')
-rw-r--r-- | data/vpx/make.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/data/vpx/make.sh b/data/vpx/make.sh new file mode 100644 index 000000000..4a90b84fd --- /dev/null +++ b/data/vpx/make.sh @@ -0,0 +1,17 @@ +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 |