Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Samuli Suominen <ssuominen@g.o>
Subject: Re: Re: News item announcing as-needed (glep 42 stuff)
Date: Tue, 27 Jul 2010 20:42:35 +0300
On 07/27/2010 08:37 PM, Róbert Čerňanský wrote:
> On Mon, 26 Jul 2010 21:38:05 -0600
> Ryan Hill <dirtyepic@g.o> wrote:
> 
>> it is recommended to use LDFLAGS="${LDFLAGS} <your flags>" instead to
> 
> Is it not a comma required between ${LDFLAGS} and <your flags>?
> 
> LDFLAGS="${LDFLAGS},<your flags>"
> 
> Robert

Don't do that.

Quoting from http://www.gentoo.org/proj/en/qa/asneeded.xml:

"Note: If you use more than one -Wl flag, you have to set
-Wl,--as-needed separately in LDFLAGS due to libtool deplib reordering[1]."

[1]
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/ELT-patches/as-needed/2.2.6?view=log

Just use:

LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu"


References:
News item announcing as-needed (glep 42 stuff)
-- Tomáš Chvátal
Re: News item announcing as-needed (glep 42 stuff)
-- Alex Alexander
Re: News item announcing as-needed (glep 42 stuff)
-- Ryan Hill
Re: Re: News item announcing as-needed (glep 42 stuff)
-- Róbert Čerňanský
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: News item announcing as-needed (glep 42 stuff)
Next by thread:
Re: News item announcing as-needed (glep 42 stuff)
Previous by date:
Re: Re: News item announcing as-needed (glep 42 stuff)
Next by date:
Lastrite: x11-plugins/gkrellm-hddtemp


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.