Ciaran McCreesh wrote: > On Sat, 03 Oct 2009 22:13:59 +0300 > Samuli Suominen <[email protected]> wrote: >> Since new binutils will support LD_AS_NEEDED="1" to force ld behave >> asneeded we could use this for the developer -target in profiles? >> >> Speak up if you think it's a terrible idea. > > Well, it does break correct code, so it's about on par with forcing > -ffast-math or -fno-exceptions or -fvisibility-inlines-hidden on > globally... >
Be reasonable. We can add -Wl,--no-as-needed for those packages with valid code. And I'm certainly not suggesting adding it to base/, _only_ for the developer target.
