]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
kbuild: fix cc-option and cc-option-yn
authorH. Peter Anvin <hpa@zytor.com>
Mon, 8 Sep 2008 21:43:11 +0000 (14:43 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 9 Sep 2008 18:52:33 +0000 (11:52 -0700)
commit43789e21638626d826c0e8d62e50ceb76b9d61ed
treed8d695f1d0142db128be515613567bc70014b40d
parent82a28c794f27aac17d7a3ebd7f14d731a11a5532
kbuild: fix cc-option and cc-option-yn

David Sanders wrote:

> I'm getting this error:
> as: unrecognized option `-mtune=generic32'
> I have binutils 2.17.

Use -c instead of -S in cc-option and cc-option-yn, so we can probe
options related to the assembler.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: kbuild devel <kbuild-devel@lists.sourceforge.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
scripts/Kbuild.include