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>
This commit is contained in:
parent
1a89547957
commit
a1c65b41cb
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ endef
|
||||||
HOST_CONFIGURE_VARS = \
|
HOST_CONFIGURE_VARS = \
|
||||||
CC="$(HOSTCC)" \
|
CC="$(HOSTCC)" \
|
||||||
CFLAGS="$(HOST_CFLAGS)" \
|
CFLAGS="$(HOST_CFLAGS)" \
|
||||||
|
CXX="$(HOSTCXX)" \
|
||||||
CPPFLAGS="$(HOST_CPPFLAGS)" \
|
CPPFLAGS="$(HOST_CPPFLAGS)" \
|
||||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||||
CONFIG_SHELL="$(SHELL)"
|
CONFIG_SHELL="$(SHELL)"
|
||||||
|
|
Loading…
Reference in a new issue