summaryrefslogtreecommitdiff
path: root/data/node/make.sh
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-05-21 15:25:27 +0000
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-05-21 15:25:27 +0000
commitc96bcce2679e9b2d1f1d697fad7d90a037670964 (patch)
tree63ebb09ea13df426144c34cb5bfd1b6439cea496 /data/node/make.sh
parent16e83427e5556e2326fdd15a089b9703d9f38f30 (diff)
Init commit
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