From a1c65b41cbaa12b43af7bbd40db23d482be629c8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 20 Apr 2018 13:04:41 +0200 Subject: [PATCH] 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 --- include/host-build.mk | 1 + 1 file changed, 1 insertion(+) 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)" -- 2.25.1