Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To:
Cc: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/default/linux: make.defaults
Date: Mon, 12 Jul 2010 05:12:32
Message-Id: 4C3AA43E.7000602@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/default/linux: make.defaults by Jeremy Olexa
1 On 07/12/2010 07:53 AM, Jeremy Olexa wrote:
2 > On 07/11/2010 02:50 PM, Samuli Suominen (ssuominen) wrote:
3 >> -LDFLAGS="-Wl,-O1"
4 >> +LDFLAGS="-Wl,-O1 ${LDFLAGS}"
5 >
6 > My existing, custom, entry for LDFLAGS breaks with this change. Not nice.
7 >
8 > %% grep LDFLAGS /etc/make.conf
9 > LDFLAGS="${LDFLAGS},--hash-style=gnu -Wl,--as-needed"
10 >
11 > -Jeremy
12
13 that only worked before because of a fluke (= profiles had only one
14 LDFLAGS before).
15 it's not valid to assume -Wl gets passed from previous instance and
16 leave next ones dangling.

Replies