summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-06-25 14:25:42 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-07 08:14:40 +0200
commitb07030a708293756e25edd6432ed02cc53ff758e (patch)
treedeb361de7cd001d1954b96f7f7d2532125a934c5 /package
parent8e8103bfb55a814d68eabb51afebfb35c3e7cec8 (diff)
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>
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.in10
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 \