> > ----- "Jussi Lehtola" <jussilehtola@xxxxxxxxxxxxxxxxx> wrote: > > > > So is --as-needed within the current default flags? > > As far as I know, no. The default will still be --no-as-needed. That's correct. This change does not affect --as-needed at all. > The --as-needed flag will link libraries if > A) they define symbols required by object files > B) those symbols are still undefined when the library is checked That's correct. In other words, the libfoo.so DSO will only be used at runtime if the presence of -lfoo at link time actually had any effect on what symbols got resolved to what. But --as-needed is not really apropos in this thread. Thanks, Roland -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel