summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-30 22:52:27 +0000
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-30 22:52:27 +0000
commit06c8c0c238e9b7a600fd5bb0ed3025e9380b6c35 (patch)
tree3dc478fce54eeccbacdef7e6a6e9349ff4933a67
parent15e0985ea537d60b0527a2d57a9ecba1c84f04cf (diff)
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
-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 2da41cc08..8eb49c8f4 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)"