Separate flags from commands in HOST_CONFIGURE_OPTS
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 25 Jun 2010 12:25:42 +0000 (14:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 7 Jul 2010 06:14:40 +0000 (08:14 +0200)
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>
package/Makefile.in

index 3997a217580b405f171fc6277acc522aec58cc6c..734af03983614550b81e9c6ee95da91b40baf868 100644 (file)
@@ -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 \