summaryrefslogtreecommitdiff
path: root/include/host-build.mk
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 /include/host-build.mk
parente9d20f1f8711f3e80141cf39efcc54a69feed861 (diff)
downloadmtk-20170518-5faad30d5da9d52d5e2198c695f58ad8eff4c3d4.zip
mtk-20170518-5faad30d5da9d52d5e2198c695f58ad8eff4c3d4.tar.gz
mtk-20170518-5faad30d5da9d52d5e2198c695f58ad8eff4c3d4.tar.bz2
build: properly pass CPP and CXX flags in HOST_MAKE_VARS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include/host-build.mk')
-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 c54ee37..70bf6e5 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 =