summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-31 00:52:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-31 00:52:27 +0000
commit32a98d23ea9bc5b26dcc9fb586f6ad6dd2cbd819 (patch)
tree84afc055234ad3f37ab2bd96064c96fa893b7b31 /include
parent37cc74a265af60c90bb009bc598a90132325c623 (diff)
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index b758f1db2..407109f38 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