Skip to content
Commit 43789e21 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

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: default avatarH. Peter Anvin <hpa@zytor.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: kbuild devel <kbuild-devel@lists.sourceforge.net>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 82a28c79
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment