]> 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>
Tue, 14 Aug 2012 03:22:26 +0000 (13:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 21 Aug 2012 05:18:09 +0000 (15:18 +1000)
commitc93a862e65ede70815b423f6eb300ef7550ec944
tree75f9e08807861720fd455b95c62a80d2b56c9413
parent1667c5d5731aaecd691b731d5d661208e06bf387
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