From 5ea9c0833a032e07a1bef91251a109289f6e0d56 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 30 May 2016 01:00:00 +0200 Subject: [PATCH] node: fix CXXFLAGS on host install Now really fixes the build on Debian Jessie... --- .../packages/openwrt/0005-node-update-to-v0.12.14.patch | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/patches/packages/openwrt/0005-node-update-to-v0.12.14.patch b/patches/packages/openwrt/0005-node-update-to-v0.12.14.patch index b748b636..be6b8a15 100644 --- a/patches/packages/openwrt/0005-node-update-to-v0.12.14.patch +++ b/patches/packages/openwrt/0005-node-update-to-v0.12.14.patch @@ -7,7 +7,7 @@ While we're at it, also enable parallel builds. Signed-off-by: Matthias Schiffer diff --git a/lang/node/Makefile b/lang/node/Makefile -index 243c8a5..bde7906 100644 +index 243c8a5..ed35e17 100644 --- a/lang/node/Makefile +++ b/lang/node/Makefile @@ -8,17 +8,21 @@ @@ -34,11 +34,15 @@ index 243c8a5..bde7906 100644 PKG_MAINTAINER:=John Crispin PKG_LICENSE:= -@@ -56,6 +60,8 @@ HOST_CONFIGURE_ARGS:= \ +@@ -56,6 +60,12 @@ HOST_CONFIGURE_ARGS:= \ HOST_CONFIGURE_CMD:=python ./configure +HOST_MAKE_FLAGS += CXXFLAGS='-std=c++11' ++ ++define Host/Install ++ $(MAKE) -C $(HOST_BUILD_DIR) $(HOST_MAKE_FLAGS) install ++endef + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include