diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-06-25 14:25:42 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-07 08:14:40 +0200 |
commit | b07030a708293756e25edd6432ed02cc53ff758e (patch) | |
tree | deb361de7cd001d1954b96f7f7d2532125a934c5 | |
parent | 8e8103bfb55a814d68eabb51afebfb35c3e7cec8 (diff) | |
download | buildroot-novena-b07030a708293756e25edd6432ed02cc53ff758e.tar.gz buildroot-novena-b07030a708293756e25edd6432ed02cc53ff758e.zip |
Separate flags from commands in HOST_CONFIGURE_OPTS
Just as we did for LD/LDFLAGS, pass CFLAGS and CXXFLAGS in their own
variables.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/package/Makefile.in b/package/Makefile.in index 3997a2175..734af0398 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -225,10 +225,12 @@ HOST_CONFIGURE_OPTS=PATH=$(HOST_PATH) \ AS="$(HOSTAS)" \ LD="$(HOSTLD)" \ NM="$(HOSTNM)" \ - CC="$(HOSTCC) $(HOST_CFLAGS)" \ - GCC="$(HOSTCC) $(HOST_CFLAGS)" \ - CXX="$(HOSTCXX) $(HOST_CXXFLAGS)" \ - CPP="$(HOSTCPP) $(HOST_CFLAGS)" \ + CC="$(HOSTCC)" \ + GCC="$(HOSTCC)" \ + CXX="$(HOSTCXX)" \ + CPP="$(HOSTCPP)" \ + CFLAGS="$(HOST_CFLAGS)" \ + CXXFLAGS="$(HOST_CXXFLAGS)" \ LDFLAGS="$(HOST_LDFLAGS)" \ PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ |