aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2009-10-30 22:52:27 +0000
committerAndy Boyett <agb@openwrt.org>2009-10-30 22:52:27 +0000
commitdc71e811a9569206bb2cb6f137d18e5e9657aee7 (patch)
tree3dc478fce54eeccbacdef7e6a6e9349ff4933a67 /include
parentfd20f987cb16a2804b3574b3b65ecd6859676a81 (diff)
downloadupstream-dc71e811a9569206bb2cb6f137d18e5e9657aee7.tar.gz
upstream-dc71e811a9569206bb2cb6f137d18e5e9657aee7.tar.bz2
upstream-dc71e811a9569206bb2cb6f137d18e5e9657aee7.zip
use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18232 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/host-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index 2da41cc083..8eb49c8f44 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -36,6 +36,7 @@ define Host/Prepare
endef
HOST_CONFIGURE_VARS = \
+ CFLAGS="$(HOST_CFLAGS)" \
CPPFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
SHELL="$(BASH)"