summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-10-04 17:11:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-13 05:46:51 +0900
commit9561b743b377028e657a452a2c20d7fe640343bd (patch)
tree087e58fb72e98081950dd61ce00d9cd88b1272c4 /scripts/Kbuild.include
parentc5a1a81c6a690de3e98e8894afa227d584929185 (diff)
mn10300: only add -mmem-funcs to KBUILD_CFLAGS if gcc supports it
commit 9957423f035c2071f6d1c5d2f095cdafbeb25ad7 upstream. 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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions