From: Geert Uytterhoeven Date: Fri, 5 Oct 2012 00:11:13 +0000 (-0700) Subject: mn10300: only add -mmem-funcs to KBUILD_CFLAGS if gcc supports it X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~12^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9957423f035c2071f6d1c5d2f095cdafbeb25ad7;p=pandora-kernel.git mn10300: only add -mmem-funcs to KBUILD_CFLAGS if gcc supports it It seems the current (gcc 4.6.3) no longer provides this so make it conditional. As reported by Tony before, the mn10300 architecture cross-compiles with gcc-4.6.3 if -mmem-funcs is not added to KBUILD_CFLAGS. Reported-by: Tony Breeds Signed-off-by: Geert Uytterhoeven Cc: David Howells Cc: Koichi Yasutake Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed