public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* arch/x86_64/kernel/Makefile: why EXTRA_AFLAGS := -traditional
@ 2007-09-20 14:01 Denys Vlasenko
  2007-09-20 14:09 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Denys Vlasenko @ 2007-09-20 14:01 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-kernel

Hi Andi,

arch/x86_64/kernel/Makefile has 

EXTRA_AFLAGS := -traditional

and this is causing me trouble with #define MACRO(a,b) a.b
(defined in one of included header file).
It expands incorrectly, as "a. b" - extra space.

If I use a.##b, all other .S files suffer - I am getting
a.##b expansion in them.

Can I remove EXTRA_AFLAGS := -traditional?
--
vda

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: arch/x86_64/kernel/Makefile: why EXTRA_AFLAGS := -traditional
  2007-09-20 14:01 arch/x86_64/kernel/Makefile: why EXTRA_AFLAGS := -traditional Denys Vlasenko
@ 2007-09-20 14:09 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2007-09-20 14:09 UTC (permalink / raw)
  To: Denys Vlasenko; +Cc: Andi Kleen, linux-kernel

On Thu, Sep 20, 2007 at 03:01:43PM +0100, Denys Vlasenko wrote:
> Hi Andi,
> 
> arch/x86_64/kernel/Makefile has 
> 
> EXTRA_AFLAGS := -traditional
> 
> and this is causing me trouble with #define MACRO(a,b) a.b
> (defined in one of included header file).
> It expands incorrectly, as "a. b" - extra space.
> 
> If I use a.##b, all other .S files suffer - I am getting
> a.##b expansion in them.
> 
> Can I remove EXTRA_AFLAGS := -traditional?

Inherited long ago from i386. Does it build without it?
If yes it's ok to remove.

-Andi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-20 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 14:01 arch/x86_64/kernel/Makefile: why EXTRA_AFLAGS := -traditional Denys Vlasenko
2007-09-20 14:09 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox