Fixes:
http://autobuild.buildroot.net/results/f6b/
f6b80ae32acf7f89bb1c12999679ff1be9733d44/
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
endef
define HOST_NODEJS_BUILD_CMDS
- $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 $(MAKE) -C $(@D)
+ $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
+ $(MAKE) -C $(@D) \
+ $(HOST_CONFIGURE_OPTS) \
+ LD="$(HOSTCXX)"
endef
define HOST_NODEJS_INSTALL_CMDS
- $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 $(MAKE) -C $(@D) install
+ $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
+ $(MAKE) -C $(@D) install \
+ $(HOST_CONFIGURE_OPTS) \
+ LD="$(HOSTCXX)"
endef
ifeq ($(BR2_i386),y)