aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-01-17 09:29:50 +0100
committerJo-Philipp Wich <jo@mein.io>2017-01-17 09:30:13 +0100
commit5faad30d5da9d52d5e2198c695f58ad8eff4c3d4 (patch)
tree86a866e73f7bec1cdb9ec7e2dd0271ed702ed29d
parente9d20f1f8711f3e80141cf39efcc54a69feed861 (diff)
downloadupstream-5faad30d5da9d52d5e2198c695f58ad8eff4c3d4.tar.gz
upstream-5faad30d5da9d52d5e2198c695f58ad8eff4c3d4.tar.bz2
upstream-5faad30d5da9d52d5e2198c695f58ad8eff4c3d4.zip
build: properly pass CPP and CXX flags in HOST_MAKE_VARS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--include/host-build.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index c54ee3755c..70bf6e5a39 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -69,7 +69,8 @@ HOST_CONFIGURE_ARGS = \
HOST_MAKE_VARS = \
CFLAGS="$(HOST_CFLAGS)" \
- CXXFLAGS="$(HOST_CPPFLAGS)" \
+ CPPFLAGS="$(HOST_CPPFLAGS)" \
+ CXXFLAGS="$(HOST_CXXFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)"
HOST_MAKE_FLAGS =