Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit...
[openwrt/openwrt.git] / include / kernel.mk
index b758f1db2223456bb50761a563e8e589d20b8858..407109f38bcfc6182c2147ca02c0169255e62001 100644 (file)
@@ -12,6 +12,8 @@ ifeq ($(DUMP),1)
 else
   include $(INCLUDE_DIR)/target.mk
 
 else
   include $(INCLUDE_DIR)/target.mk
 
+  export GCC_HONOUR_COPTS=s
+
   ifeq ($(KERNEL),2.6)
     LINUX_KMOD_SUFFIX=ko
   else
   ifeq ($(KERNEL),2.6)
     LINUX_KMOD_SUFFIX=ko
   else