From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from terminus.zytor.com ([198.137.202.10]:33361 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753540AbYIHVWU (ORCPT ); Mon, 8 Sep 2008 17:22:20 -0400 Message-ID: <48C5977C.7020109@kernel.org> Date: Mon, 08 Sep 2008 14:22:04 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [git pull] x86 fixes References: <200809081932.m88JWVZG013061@askone.hos.anvin.org> <200809081634.24257.linux@sandersweb.net> <48C59711.8050502@zytor.com> In-Reply-To: <48C59711.8050502@zytor.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Sam Ravnborg , linux-kbuild Cc: linux@sandersweb.net, linux-kernel@vger.kernel.org, x86 maintainers H. Peter Anvin wrote: > 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... Sam: Is there a reason cc-option and friends use -S instead of -c? -hpa