summaryrefslogtreecommitdiffstats
path: root/package/nodejs/nodejs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/nodejs/nodejs.mk')
-rw-r--r--package/nodejs/nodejs.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index b5973b55d..79393e231 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -40,11 +40,17 @@ define HOST_NODEJS_CONFIGURE_CMDS
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)