From: Felix Fietkau Date: Sat, 13 Sep 2008 17:41:02 +0000 (+0000) Subject: fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packa... X-Git-Tag: reboot~25587 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87f9c56103f2d8004f99ea660232fb801eee2bed;p=openwrt%2Fstaging%2Fjogo.git fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packages' configure step SVN-Revision: 12601 --- 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