aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-13 17:41:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-13 17:41:02 +0000
commit87f9c56103f2d8004f99ea660232fb801eee2bed (patch)
treea7c1be66c8e33d1c76fc09403599373092b0f9cc
parent94fee202311e9e82c2501ef35bfc10bfc46b839f (diff)
downloadupstream-87f9c56103f2d8004f99ea660232fb801eee2bed.tar.gz
upstream-87f9c56103f2d8004f99ea660232fb801eee2bed.tar.bz2
upstream-87f9c56103f2d8004f99ea660232fb801eee2bed.zip
fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packages' configure step
SVN-Revision: 12601
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 0e4c7f2905..614feb6fc5 100644
--- a/rules.mk
+++ b/rules.mk
@@ -64,7 +64,7 @@ TARGET_DIR:=$(BUILD_DIR)/root-$(BOARD)
IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/ipkg
TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(STAGING_DIR_HOST)/bin:$(STAGING_DIR)/host/bin:$(PATH)
-TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) $(if $(CONFIG_DEBUG),-g3)
+TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3)
TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
TARGET_LDFLAGS:=-L$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib