[oe] LDFLAGS += "--as-needed" ?
freyther at gmx.net
Mon Feb 5 00:43:30 CET 2007
Am 05.02.2007 um 00:25 schrieb Koen Kooi:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> I have encountered a few packages that have unnecessary
> dependencies due to excessive
> linking. A while back we discussed passing '--as-needed' to ld to
> get rid of those. My
> question is: what happens when software uses gcc to link?
> Do we want to enable such a thing globally?
then we should pass --as-needed to the linker (-Wl,)?
But the real question is:
Who is going to fix libtool once again? From my KDE experience I
remember libtool randomly reordering libraries which broke --as-
needed badly. But my memory is vague and could be corrupted...
More information about the Openembedded-devel