summaryrefslogtreecommitdiff
path: root/data/node/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/node/make.sh')
-rw-r--r--data/node/make.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/node/make.sh b/data/node/make.sh
new file mode 100644
index 000000000..4b0c68fa8
--- /dev/null
+++ b/data/node/make.sh
@@ -0,0 +1,17 @@
+pkg:setup
+
+export CC="${PKG_gcc:-${PKG_TARG}-gcc}"
+export LD="${PKG_TARG}-ld"
+export AR="${PKG_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 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
+make