On Tue, 25 Jun 2013 12:17:40 -0400
Chuck Lever <[email protected]> wrote:

> The "--as-needed" linker flag reduces the number of unused objects
> and dependencies in an executable, making it smaller and faster to
> load.
> 
> Some distributions implicitly specify "--as-needed" when linking
> their package builds.  My builds on Fedora appears not to.
> 
> To catch build problems before they are committed, let's explicitly
> specify --as-needed.
> 
> References:
> 
>   http://www.gentoo.org/proj/en/qa/asneeded.xml#doc_chap1
> 
>   https://sigquit.wordpress.com/tag/gnu-libtool/
> 
> Signed-off-by: Chuck Lever <[email protected]>

Looks good.
Reviewed-by: David Disseldorp <[email protected]>

Cheers, David

_______________________________________________
fedfs-utils-devel mailing list
[email protected]
https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel

Reply via email to