community/nodejs: v8 fix

This commit is contained in:
Kevin Mihelich 2015-09-17 01:10:51 +00:00
parent 69d934a2cd
commit e5357bcd53

View file

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