Gentoo Archives: gentoo-dev

From: Jeremy Olexa <darkside@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/default/linux: make.defaults
Date: Mon, 12 Jul 2010 12:50:58
Message-Id: 4C3B0F98.2090004@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/default/linux: make.defaults by Samuli Suominen
1 On 07/12/2010 12:12 AM, Samuli Suominen wrote:
2 > On 07/12/2010 07:53 AM, Jeremy Olexa wrote:
3 >> On 07/11/2010 02:50 PM, Samuli Suominen (ssuominen) wrote:
4 >>> -LDFLAGS="-Wl,-O1"
5 >>> +LDFLAGS="-Wl,-O1 ${LDFLAGS}"
6 >>
7 >> My existing, custom, entry for LDFLAGS breaks with this change. Not nice.
8 >>
9 >> %% grep LDFLAGS /etc/make.conf
10 >> LDFLAGS="${LDFLAGS},--hash-style=gnu -Wl,--as-needed"
11 >>
12 >> -Jeremy
13 >
14 > that only worked before because of a fluke (= profiles had only one
15 > LDFLAGS before).
16 > it's not valid to assume -Wl gets passed from previous instance and
17 > leave next ones dangling.
18 >
19
20 Ok, I thought it was alittle "funny" to change a variable's behavior
21 from non-stacking to stacking. If no one else has a problem with it, I
22 will just change my make.conf and get over it. No worries.
23
24 -Jeremy

Replies