aboutsummaryrefslogtreecommitdiffstats
path: root/include/host-build.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-04-20 13:04:41 +0200
committerFelix Fietkau <nbd@nbd.name>2018-04-20 13:20:25 +0200
commita1c65b41cbaa12b43af7bbd40db23d482be629c8 (patch)
tree8418c8480be35c19bd89c82aca9776d174112d60 /include/host-build.mk
parent1a895479576de36e8adbed9cd1e0d2a14c004802 (diff)
downloadupstream-a1c65b41cbaa12b43af7bbd40db23d482be629c8.tar.gz
upstream-a1c65b41cbaa12b43af7bbd40db23d482be629c8.tar.bz2
upstream-a1c65b41cbaa12b43af7bbd40db23d482be629c8.zip
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@nbd.name>
Diffstat (limited to 'include/host-build.mk')
-rw-r--r--include/host-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index 9120570c54..a2a31ae048 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)"