summaryrefslogtreecommitdiff
path: root/rules.mk
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 /rules.mk
parent94fee202311e9e82c2501ef35bfc10bfc46b839f (diff)
downloadmtk-20170518-87f9c56103f2d8004f99ea660232fb801eee2bed.zip
mtk-20170518-87f9c56103f2d8004f99ea660232fb801eee2bed.tar.gz
mtk-20170518-87f9c56103f2d8004f99ea660232fb801eee2bed.tar.bz2
fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packages' configure step
SVN-Revision: 12601
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 0e4c7f2..614feb6 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