diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-04-20 13:04:41 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-04-20 13:20:25 +0200 |
commit | a1c65b41cbaa12b43af7bbd40db23d482be629c8 (patch) | |
tree | 8418c8480be35c19bd89c82aca9776d174112d60 /include | |
parent | 1a895479576de36e8adbed9cd1e0d2a14c004802 (diff) | |
download | upstream-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')
-rw-r--r-- | include/host-build.mk | 1 |
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)" |