Re: [git pull] x86 fixes

H. Peter Anvin
2008-09-08T21:21:16Z

David Sanders wrote:
> On Monday 08 September 2008 15:32, H. Peter Anvin wrote:
>> diff --git a/arch/x86/Makefile_32.cpu b/arch/x86/Makefile_32.cpu
>> index e372b58..b72b4f7 100644
>> --- a/arch/x86/Makefile_32.cpu
>> +++ b/arch/x86/Makefile_32.cpu
>> @@ -45,3 +45,8 @@ cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx
>> # cpu entries
>> cflags-$(CONFIG_X86_GENERIC) += $(call tune,generic,$(call tune,i686))
> Peter, I'm getting this error:
> as: unrecognized option `-mtune=generic32'
> I have binutils 2.17.
> David

Oh bloody hell...

cc-option = $(call try-run,\
$(CC) $(KBUILD_CFLAGS) $(1) -S -xc /dev/null -o "$$TMP",$(1),$(2))

Note the -S. Useless for anything related to the assembler.

/me wimpers...

-hpa