From: Samuel Martin Date: Wed, 16 Apr 2014 08:34:42 +0000 (+0200) Subject: host-nodejs: use g++ as linker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea737fb100785b3b5756dad320db04062261fd04;p=buildroot.git host-nodejs: use g++ as linker Fixes: http://autobuild.buildroot.net/results/f6b/f6b80ae32acf7f89bb1c12999679ff1be9733d44/ Signed-off-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index b5973b55db..79393e2316 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)