From: Andy Boyett Date: Fri, 30 Oct 2009 22:52:27 +0000 (+0000) Subject: use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1141aecd2a355738dc089eb8cff29d1384ac8ba7;p=openwrt%2Fstaging%2Fnbd.git use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich SVN-Revision: 18232 --- 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)"