s4-build: use -Wl,--as-needed if supported
authorAndrew Tridgell <tridge@samba.org>
Tue, 2 Nov 2010 23:50:16 +0000 (10:50 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 3 Nov 2010 00:35:56 +0000 (00:35 +0000)
commit553029b88b470362b533bbd17d028e6e61e4b8b9
tree27b43d63467d20036b57725a8b41b22d6c8ddd6f
parent2a5e5cd8fa651b819182a2c57b580ab278b4945a
s4-build: use -Wl,--as-needed if supported

this makes our runtime load times smaller, and also means we find bugs
that this may cause on gentoo. gentoo uses this by default

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov  3 00:35:56 UTC 2010 on sn-devel-104
source4/wscript