diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 051529e4b..eb6e5c2a8 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -27,16 +27,16 @@ sha256sums=('e110e5a066f3a6fe565ede7dd66f3727384b9b5c5fbf46f8db723d726e2f5900' set_flags_for_arm() { if [ "$CARCH" == "arm" ]; then # CXXFLAGS is here to bash it over the head. It has a bad habit. - EABI=soft + CONFIG="--with-arm-float-abi=soft" CXXFLAGS="$CXXFLAGS -march=armv5t -mno-unaligned-access" ; GYPFLAGS="-Darm_thumb -Darm_float_abi=soft -Darm_version=5 -Darm_fpu= -Darm_test_noprobe=on" fi if [ "$CARCH" == "armv6h" ]; then - EABI=hard + CONFIG="--with-arm-float-abi=hard" GYPFLAGS="-Darm_thumb -Darm_float_abi=hard -Darm_version=6 -Darm_fpu=vfpv2" fi if [ "$CARCH" == "armv7h" ]; then - EABI=hard + CONFIG="--with-arm-float-abi=hard" GYPFLAGS="-Darm_thumb -Darm_float_abi=hard -Darm_version=7 -Darm_fpu=vfpv3-d16" fi export CXXFLAGS @@ -83,9 +83,9 @@ build() { --with-intl=system-icu \ --without-npm \ --without-snapshot \ - --with-arm-float-abi=$EABI \ --shared-openssl \ - --shared-zlib + --shared-zlib \ + ${CONFIG} # --shared-libuv # --shared-v8 \ # --shared-v8-libpath=/usr/lib \