Gentoo Archives: gentoo-dev

From: "Tomáš Chvátal" <scarabeus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: News item announcing as-needed (glep 42 stuff)
Date: Tue, 27 Jul 2010 08:37:03
Message-Id: 4C4E9A9C.5020409@gentoo.org
In Reply to: [gentoo-dev] Re: News item announcing as-needed (glep 42 stuff) by Ryan Hill
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Dne 27.7.2010 05:38, Ryan Hill napsal(a):
5 > Yep. Can I suggest:
6 >
7 > -Wl,--as-needed has been added to the default profile's LDFLAGS.
8 >
9 > This option optimizes the linking process, only linking binaries to
10 > libraries that are trully needed. This way, fewer libraries are loaded
11 > at runtime and fewer packages need to be rebuilt after library updates.
12 >
13 > To take advantage of the new default you can either rebuild world now or just
14 > allow the system to migrate incrementally as it updates.
15 >
16 > Please note that setting LDFLAGS="<your flags>" in your make.conf will
17 > override the profile defaults. If you want to add additional LDFLAGS it is
18 > recommended to use LDFLAGS="${LDFLAGS} <your flags>" instead to avoid this.
19 >
20 > For more information on --as-needed, read [1].
21 >
22 > [1] http://www.gentoo.org/proj/en/qa/asneeded.xml
23 >
24 >
25 I like this. Consider this as the update :]
26 With one simple replace s/trully/truly/ :P
27
28 Tom
29 -----BEGIN PGP SIGNATURE-----
30 Version: GnuPG v2.0.15 (GNU/Linux)
31 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
32
33 iEYEARECAAYFAkxOmpwACgkQHB6c3gNBRYfiMwCfRWQEheYwNbssCd5qReSSCyKq
34 ACcAoJlm9ag96GEk0Bt3rLLdP1tx8XKv
35 =jZnr
36 -----END PGP SIGNATURE-----

Replies