summaryrefslogtreecommitdiff
path: root/data/node/make.sh
blob: 4b0c68fa88ffa84572a300bb9fc5a89a3990e44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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