From: Felix Fietkau Date: Fri, 20 Apr 2018 11:04:41 +0000 (+0200) Subject: build: pass HOSTCXX to host builds as CXX X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a1c65b41cbaa12b43af7bbd40db23d482be629c8;p=openwrt%2Fstaging%2Faparcar.git 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 --- 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)"