From: Jo-Philipp Wich Date: Tue, 17 Jan 2017 08:29:50 +0000 (+0100) Subject: build: properly pass CPP and CXX flags in HOST_MAKE_VARS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e5bc7bff85ba436f8ad4a1012b15d06d396f0b01;p=openwrt%2Fstaging%2Fyousong.git build: properly pass CPP and CXX flags in HOST_MAKE_VARS Signed-off-by: Jo-Philipp Wich --- 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 =