1 Jun 2008 01:57
Re: RFC: --as-needed to default LDFLAGS
Duncan <1i5t5.duncan <at> cox.net>
2008-05-31 23:57:46 GMT
2008-05-31 23:57:46 GMT
Mike Auty <ikelos <at> gentoo.org> posted 4841A7DA.7060605 <at> gentoo.org, excerpted below, on Sat, 31 May 2008 20:32:42 +0100: > I think you're looking for the wrong things. I'm not an expert, but I > think --as-needed means that if there are 20 libraries on your system > that use libexpat.so.0 and 400 programs that use those 20 libraries, > when libexpat is updated to libexpat.so.1, you only need to rebuild the > 20 libraries, not all 420 packages (as you would do otherwise). I > believe that's the main reason for using as-needed... That has certainly been my experience. I've had way less rebuilds to worry about since I added that to my LDFLAGS and rebuilt the system. revdep-rebuild -p, which I run regularly after major world upgrades, returns far fewer packages to rebuild, now. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- -- gentoo-dev <at> lists.gentoo.org mailing list
RSS Feed