Explorar o código

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 <[email protected]>
Felix Fietkau %!s(int64=7) %!d(string=hai) anos
pai
achega
a1c65b41cb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/host-build.mk

+ 1 - 0
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)"