[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: syx



On Fri, Jun 27, 2008 at 11:38:22AM -0500, Luca Bruno <lethalman88@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Fri, 27 Jun 2008 00:04:19 +0200
> Mike Hommey <mh@glandium.org> 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


Reply to: