qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] CFLAGS nitpicking


From: schwinge-qemu-devel
Subject: Re: [Qemu-devel] CFLAGS nitpicking
Date: Tue, 26 Oct 2004 11:40:53 +0200
User-agent: Mutt/1.4.2.1i

On Tue, Oct 26, 2004 at 06:49:49AM +1000, James Boddington wrote:
> Thomas Schwinge wrote:
> >On Sun, Oct 24, 2004 at 10:38:06PM +0200, Magnus Damm wrote:
> >At present it is not possible to alter 'CFLAGS', 'LDFLAGS' and 'LIBS'
> >when building QEMU without modifiying all the Makefiles.
> >
> >I'd suggest the following:
> >The lines that explicitally set 'CFLAGS', 'LDFLAGS', 'LIBS' (and
> >others?) are removed from all Makefiles.
> >
> 
> If you want to override those variables for a make you can specify them 
> on the command line
> 
> make CFLAGS="-O2 -mcpu=athlon-xp" CC=/opt/gcc-3.4.2/bin/gcc

Thanks, I'm aware of that, but doing it in that way will also override
any '*FLAGS += something' in the Makefiles, which might not always be
good.
Either we should implement my suggestions or have 'EXTRA_CFLAGS' (etc.)
to be used for user customisations in the Makefiles.


Regards,
 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]