1 |
On 7/27/10 1:36 AM, Tomáš Chvátal wrote: |
2 |
> Dne 27.7.2010 05:38, Ryan Hill napsal(a): |
3 |
>> Yep. Can I suggest: |
4 |
> |
5 |
>> -Wl,--as-needed has been added to the default profile's LDFLAGS. |
6 |
> |
7 |
>> This option optimizes the linking process, only linking binaries to |
8 |
>> libraries that are trully needed. This way, fewer libraries are loaded |
9 |
>> at runtime and fewer packages need to be rebuilt after library updates. |
10 |
> |
11 |
>> To take advantage of the new default you can either rebuild world now or just |
12 |
>> allow the system to migrate incrementally as it updates. |
13 |
> |
14 |
>> Please note that setting LDFLAGS="<your flags>" in your make.conf will |
15 |
>> override the profile defaults. If you want to add additional LDFLAGS it is |
16 |
>> recommended to use LDFLAGS="${LDFLAGS} <your flags>" instead to avoid this. |
17 |
> |
18 |
>> For more information on --as-needed, read [1]. |
19 |
> |
20 |
>> [1] http://www.gentoo.org/proj/en/qa/asneeded.xml |
21 |
> |
22 |
> |
23 |
> I like this. Consider this as the update :] |
24 |
> With one simple replace s/trully/truly/ :P |
25 |
|
26 |
I also like Ryan's version. I think it is clear and accurate. |
27 |
|
28 |
Paweł |