summaryrefslogtreecommitdiff
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-02-01 16:03:57 +0100
commite5bc7bff85ba436f8ad4a1012b15d06d396f0b01 (patch)
tree490429c8aaefa6c259ae6a702a568b6b57bdb834
parent83c9bfad1e8a76e04efe8b540b404a2148374333 (diff)
downloadmtk-20170518-e5bc7bff85ba436f8ad4a1012b15d06d396f0b01.zip
mtk-20170518-e5bc7bff85ba436f8ad4a1012b15d06d396f0b01.tar.gz
mtk-20170518-e5bc7bff85ba436f8ad4a1012b15d06d396f0b01.tar.bz2
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 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 =