On Mon, Jul 26, 2010 at 10:29:06PM +0200, Tomáš Chvátal wrote:
> Hi guys,
> See the attachment for the draft.
> 
> Please improve it to be an actual English :P

How about:

-Wl,--as-needed has been added to the default profile's LDFLAGS.

This option optimizes the linking process, only linking binaries to
libraries that are trully needed. This way, fewer libraries are loaded
at runtime and fewer packages need to be rebuilt on library updates.

Setting LDFLAGS in your make.conf will override the default. In that
case, if you want the new setting you have to either remove LDFLAGS, 
or append " -Wl,--as-needed" to it (sans the quotes) yourself.

To take advantage of the new default you can either rebuild world or
allow the system to migrate slowly through updates.

To disable the new default (not recommended) you can define your own
LDFLAGS in make.conf. LDFLAGS="-Wl,-O1" will suffice.

For more information on --as-needed, read [1].
 
[1] http://www.gentoo.org/proj/en/qa/asneeded.xml

-- 
Alex Alexander -=- wired
Gentoo Linux Developer -=- Council / Qt / KDE / more
www.linuxized.com

Attachment: pgphbA3oTx1sX.pgp
Description: PGP signature

Reply via email to