Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults
Date: Mon, 28 Jun 2010 07:51:31
Message-Id: 20100628085119.1631337d@snowcone
In Reply to: Re: [gentoo-dev] Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults by Samuli Suominen
1 On Mon, 28 Jun 2010 10:44:54 +0300
2 Samuli Suominen <ssuominen@g.o> wrote:
3 > > You've forgotten "make --as-needed not break correct code by making
4 > > the linker ignore explicit instructions from a program author to
5 > > link two things together". Until you do that, --as-needed is in the
6 > > same category as -ffast-math.
7 >
8 > And we can't be held hostage by few packages (marginal cases), that's
9 > why we have function called $(no-as-needed) in flag-o-matic.eclass to
10 > disable the behavior for these packages.
11
12 Will Gentoo be doing the same for -Ofast and its flags then? After all,
13 most packages work with them, and you can't let the few packages that
14 require standard-compliant behaviour from a compiler hold Gentoo
15 hostage.
16
17 --
18 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies