projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a89547
)
build: pass HOSTCXX to host builds as CXX
author
Felix Fietkau
<nbd@nbd.name>
Fri, 20 Apr 2018 11:04:41 +0000
(13:04 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 20 Apr 2018 11:20:25 +0000
(13:20 +0200)
Fixes cmake build on some systems that also have an older clang++
Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/host-build.mk
patch
|
blob
|
history
diff --git
a/include/host-build.mk
b/include/host-build.mk
index 9120570c54b4a54b5d5695c1c667553e955ca93d..a2a31ae0489b46b94961de78ad0c5a100588d921 100644
(file)
--- 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)"