From 32a98d23ea9bc5b26dcc9fb586f6ad6dd2cbd819 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 31 Jul 2007 00:52:27 +0000 Subject: 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 --- include/kernel.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3