aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.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 /include/kernel.mk
parent23f00178291b9ff3006f94dbfed4e44ae3dbf9b6 (diff)
downloadupstream-99368862e44740ff4fd33760893f04e14f9dbdf1.tar.gz
upstream-99368862e44740ff4fd33760893f04e14f9dbdf1.tar.bz2
upstream-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 'include/kernel.mk')
-rw-r--r--include/kernel.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index b758f1db22..407109f38b 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -12,6 +12,8 @@ ifeq ($(DUMP),1)
else
include $(INCLUDE_DIR)/target.mk
+ export GCC_HONOUR_COPTS=s
+
ifeq ($(KERNEL),2.6)
LINUX_KMOD_SUFFIX=ko
else