d361ed0c34
BREAKING: drop support for node < 14 BREAKING: removed snapshot, ico, and rc options BREAKING: use python3 as default python binary
19 lines
296 B
Bash
19 lines
296 B
Bash
#!/bin/bash
|
|
ARCH=$(uname -m)
|
|
|
|
case $ARCH in
|
|
"x86_64")
|
|
CONFIGURE_FLAGS="--dest-cpu=x64"
|
|
;;
|
|
"aarch64")
|
|
;&
|
|
"armv7l")
|
|
CONFIGURE_FLAGS="--openssl-no-asm --dest-cpu=arm --with-arm-float-abi=hard"
|
|
;;
|
|
*)
|
|
CONFIGURE_FLAGS=""
|
|
;;
|
|
esac
|
|
|
|
MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"
|