Comment 8 for bug 898558

Revision history for this message
kapouer (kapouer) wrote :

OK,
as i said, libv8 3.5 will build using gyp : options have changed,
so it may be good to investigate now ? I could even add a condition
in debian/rules so you don't have to change it ?

Here are the actual debian/rules part involved (you can see the whole
at the package's git repo master branch) :

ifeq (armhf, $(DEB_HOST_ARCH))
CXXFLAGS += -fno-tree-sink
CXXFLAGS += -Wno-psabi
# enable armv7 vfpv3
GYPFLAGS += -Darmv7=1 -Darm_fpu=vfpv3 -Darm_neon=0 -Dv8_use_arm_eabi_hardfloat=true
endif

ifeq (armel, $(DEB_HOST_ARCH))
DEB_MAKE_EXTRA_ARGS += vfp3=off
CXXFLAGS += -fno-tree-sink
CXXFLAGS += -Wno-psabi
# Disable thumb-interworking because v8 supports it only on >= armv5t.
# http://code.google.com/p/v8/issues/detail?id=590
CXXFLAGS += -mno-thumb-interwork
# disable armv7, use softfloat
GYPFLAGS += -Darmv7=0 -Dv8_can_use_unaligned_accesses=false -Dv8_use_arm_eabi_hardfloat=false
endif

Jérémy.