2008-06-30 10:57:21 Fabian Groffen napisał(a):
> On 29-06-2008 20:28:39 -0700, Donnie Berkholz wrote:
> > On 23:15 Sun 29 Jun     , Fabian Groffen wrote:
> > > On 29-06-2008 07:29:57 -0400, Mike Frysinger wrote:
> > > > On Saturday 28 June 2008, Petteri Räty wrote:
> > > > > Arfrever Frehtes Taifersar Arahesis kirjoitti:
> > > > > > I would like to suggest that default LDFLAGS in Gentoo contain the
> > > > > > following flags: "-Wl,-O1,--hash-style=gnu,--sort-common".
> > > > > >
> > > > > > -O1 enables some basic optimizations.
> > > > >
> > > > > At least adding -O1 should not be problematic. I think vapier was
> > > > > already suggesting this quite a while ago.
> > > > 
> > > > imo -Wl,-O1 should go into base
> > > 
> > > I prefer not.  Please only on profiles that use GNU binutils as linker.
> > 
> > That's the rule, not the exception, so I think that profiles with 
> > non-gnu linkers should revert it.
> 
> In the current world of gentoo-x86 it is the rule.  But what will you do
> once Sun Studio becomes open source, and you want to allow people that
> like to have better performance to use it?  What if Gentoo Prefix ever
> gets merged back into gentoo-x86?
> 
> How can you easily revert it in a profile?

You can set LDFLAGS="" in a subprofiles's make.defaults.

-- 
Arfrever Frehtes Taifersar Arahesis

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to