aboutsummaryrefslogtreecommitdiffstats
path: root/include/host-build.mk
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
commit1141aecd2a355738dc089eb8cff29d1384ac8ba7 (patch)
tree450112e6f04151758097ff5c1db8c94ff708f99a /include/host-build.mk
parent0000c40d8fd1307fe9bb7333ef9f200f843a54a7 (diff)
downloadupstream-1141aecd2a355738dc089eb8cff29d1384ac8ba7.tar.gz
upstream-1141aecd2a355738dc089eb8cff29d1384ac8ba7.tar.bz2
upstream-1141aecd2a355738dc089eb8cff29d1384ac8ba7.zip
use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich
SVN-Revision: 18232
Diffstat (limited to 'include/host-build.mk')
-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)"