fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packa...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 13 Sep 2008 17:41:02 +0000 (17:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 13 Sep 2008 17:41:02 +0000 (17:41 +0000)
SVN-Revision: 12601

rules.mk

index 0e4c7f29059cd2b740f676929532af1c98ef54dd..614feb6fc5f0fa81c3f6c1f7bb9d5625f7903237 100644 (file)
--- 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