On 07/12/2010 07:53 AM, Jeremy Olexa wrote: > On 07/11/2010 02:50 PM, Samuli Suominen (ssuominen) wrote: >> -LDFLAGS="-Wl,-O1" >> +LDFLAGS="-Wl,-O1 ${LDFLAGS}" > > My existing, custom, entry for LDFLAGS breaks with this change. Not nice. > > %% grep LDFLAGS /etc/make.conf > LDFLAGS="${LDFLAGS},--hash-style=gnu -Wl,--as-needed" > > -Jeremy
that only worked before because of a fluke (= profiles had only one LDFLAGS before). it's not valid to assume -Wl gets passed from previous instance and leave next ones dangling.