From 5820306407040480272527ceba969ecbc14f35af Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 25 Jul 2011 10:32:38 +0000 Subject: only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains SVN-Revision: 27771 --- include/kernel.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/kernel.mk b/include/kernel.mk index a2dce091e9..020779fd63 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -14,7 +14,9 @@ ifeq ($(DUMP),1) BOARD?= LINUX_VERSION?= else - export GCC_HONOUR_COPTS=s + ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) + export GCC_HONOUR_COPTS=s + endif LINUX_KMOD_SUFFIX=ko -- cgit v1.2.3