]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mn10300: only add -mmem-funcs to KBUILD_CFLAGS if gcc supports it
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 28 Sep 2012 00:18:52 +0000 (10:18 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:04 +0000 (15:03 +1000)
commit0b934d6e52731f7ab7499f31d15558900707231f
treeeebe2962a1f7066e5900b4eb6ce320f143068a7f
parentf3414b1f8159c75d5918e910656438425a9733ad
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 <tony@bakeyournoodle.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mn10300/Makefile