On Fri, Jun 27, 2008 at 11:38:22AM -0500, Luca Bruno <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 27 Jun 2008 00:04:19 +0200 > Mike Hommey <[EMAIL PROTECTED]> wrote: > > > I bet this thing builds using libtool, right ? libtool is known to be > > reordering gcc arguments, and with -Wl,--as-needed, that breaks > > everything, as it puts it at the end, making it useless. > > > > Mike > > Exactly. The problem is that I don't know how to put --as-needed before > $AM_LDFLAGS from the configure script. > Should I create a patch to fix the makefiles?
The only way I found to fool libtool is to set CC to "gcc -Wl,--as-needed". Another way is to patch libtool... Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

