only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts...
[openwrt.git] / include / kernel.mk
index a2dce09..020779f 100644 (file)
@@ -14,7 +14,9 @@ ifeq ($(DUMP),1)
   BOARD?=<BOARD>
   LINUX_VERSION?=<LINUX_VERSION>
 else
-  export GCC_HONOUR_COPTS=s
+  ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
+    export GCC_HONOUR_COPTS=s
+  endif
 
   LINUX_KMOD_SUFFIX=ko
 
This page took 0.023164 seconds and 4 git commands to generate.