summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-31 00:52:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-31 00:52:27 +0000
commit99368862e44740ff4fd33760893f04e14f9dbdf1 (patch)
tree94a6bd7a5ba4186aebf5a31bfa54f6797997897a /rules.mk
parent23f00178291b9ff3006f94dbfed4e44ae3dbf9b6 (diff)
downloadmaster-31e0f0ae-99368862e44740ff4fd33760893f04e14f9dbdf1.tar.gz
master-31e0f0ae-99368862e44740ff4fd33760893f04e14f9dbdf1.tar.bz2
master-31e0f0ae-99368862e44740ff4fd33760893f04e14f9dbdf1.zip
Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
SVN-Revision: 8256
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 8883cbe5dc..2437e93a1c 100644
--- a/rules.mk
+++ b/rules.mk
@@ -46,7 +46,7 @@ endif
IMAGE:=$(BUILD_DIR)/root_fs_$(ARCH)
TARGET_PATH:=$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/usr/bin:$(STAGING_DIR)/bin:$(PATH)
-TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)
+TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) -fhonour-copts
export PATH:=$(TARGET_PATH)