[openwrt/openwrt] build: pass HOSTCXX to host builds as CXX

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 20 04:20:41 PDT 2018


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/a1c65b41cbaa12b43af7bbd40db23d482be629c8

commit a1c65b41cbaa12b43af7bbd40db23d482be629c8
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Apr 20 13:04:41 2018 +0200

    build: pass HOSTCXX to host builds as CXX
    
    Fixes cmake build on some systems that also have an older clang++
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 include/host-build.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/host-build.mk b/include/host-build.mk
index 9120570..a2a31ae 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -52,6 +52,7 @@ endef
 HOST_CONFIGURE_VARS = \
 	CC="$(HOSTCC)" \
 	CFLAGS="$(HOST_CFLAGS)" \
+	CXX="$(HOSTCXX)" \
 	CPPFLAGS="$(HOST_CPPFLAGS)" \
 	LDFLAGS="$(HOST_LDFLAGS)" \
 	CONFIG_SHELL="$(SHELL)"



More information about the lede-commits mailing list