]> 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>
Fri, 28 Sep 2012 06:06:36 +0000 (16:06 +1000)
commit2a76922b7157763f5e52ba9417c3b40006209a94
tree9d5cbb01fbfa4231317df80a33d6cd8b2dd7f467
parent6de2bfc6fe67b3a73e802cec78479c4d564ebda5
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