Supporting GNU ld's --as-needed flag
gyurco at freemail.hu
Sat Nov 6 23:06:07 GMT 2004
2004. november 5. 23.53 dátummal David Faure ezt írta:
> On Friday 05 November 2004 23:04, Szombathelyi GyÃ¶rgy wrote:
> > 2004. november 4. 18.12 dátummal David Faure ezt írta:
> > > On Sunday 17 October 2004 19:13, Szombathelyi György wrote:
> > >
> > > I asked Michael Matz and he said the patch looks OK, so I'm about to
> > > commit it.
> > >
> > > But why does the patch say:
> > > + KDE_NO_UNDEFINED=""
> > > (unconditionally)
> > >
> > > Does this mean there is no support for checking for undefined symbols
> > > anymore? We still need that, at least in debug builds (for developers).
> > > For end users (--disable-debug) it's ok if there's no more no-undefined
> > > test when linking.
> > Oh, thanks for finally considering the patch!
> > I don't remember why the KDE_NO_UNDEFINED="" needed, but now I tested
> > without it, and seems to work. Also it doesn't really cleared the
> > variable, because the check for -Wl,--no-undefined is after the new
> > check. So please delete this line.
> Ah I see, it was probably a copy-n-paste error (from KDE_CHECK_CLOSURE).
> OK applied now.
Thanks, but... Coolo's patch disabled it. LDFLAGS_AS_NEEDED doesn't passed to
libtool/compiler/linker anywhere. Now it should be added to all Makefile.ams?
I think it will be a nightmare.
> Did you also send the libtool patch to the libtool
Yes, but didn't receive any answer.
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
More information about the kde-core-devel