diff options
Diffstat (limited to 'data/node/make.sh')
-rw-r--r-- | data/node/make.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/data/node/make.sh b/data/node/make.sh index 4b0c68fa8..6f189509d 100644 --- a/data/node/make.sh +++ b/data/node/make.sh @@ -1,17 +1,19 @@ pkg:setup -export CC="${PKG_gcc:-${PKG_TARG}-gcc}" +export CC="${PKG_TARG}-gcc" export LD="${PKG_TARG}-ld" -export AR="${PKG_ar:-${PKG_TARG}-ar}" +export AR="${PKG_TARG}-ar" export AS="${PKG_TARG}-as" export LINK="${CC}" export RANLIB="${PKG_TARG}-ranlib" export SDKROOT="${PKG_ROOT}" -export CC_host="clang" -export CXX_host="clang++" -export LINK_host="clang" +export CC_host="gcc" +export CXX_host="g++" +export LINK_host="gcc" export AR_host="ar" -./configure --cross-compiling --dest-os=ios --dest-cpu=arm64 --without-chakra-jit --with-intl=none --shared-zlib --openssl-no-asm --enable-static +export GYP_DEFINES="target_arch=arm64 v8_target_arch=amr64 host_os=mac OS=ios" + +./configure --without-snapshot --dest-os=ios --dest-cpu=arm64 --with-intl=none --shared-zlib --openssl-no-asm make |