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
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"