diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-06 11:58:10 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-06 12:23:39 +1000 |
commit | 4ccac7030ad24a9053e76eeb391c9e5e8f730343 (patch) | |
tree | 9c2b7b27442b1511becd254af2b56588c6ae2b2e /wscript | |
parent | 9a3e2d1c020cd7de3a6074f52dc0911bc0ab6f9b (diff) | |
download | samba-4ccac7030ad24a9053e76eeb391c9e5e8f730343.tar.gz samba-4ccac7030ad24a9053e76eeb391c9e5e8f730343.tar.bz2 samba-4ccac7030ad24a9053e76eeb391c9e5e8f730343.zip |
build: Re-enable the -Wl,--as-needed flag
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -115,12 +115,8 @@ def configure(conf): # allows us to find problems on our development hosts faster. # It also results in faster load time. - # However, until the source3 waf build settles down, this needs to - # be disabled, as the bugs mentioned above are hitting too many of - # our users - - #if sys.platform != "openbsd4": - # conf.env.asneeded_ldflags = conf.ADD_LDFLAGS('-Wl,--as-needed', testflags=True) + if sys.platform != "openbsd4": + conf.env.asneeded_ldflags = conf.ADD_LDFLAGS('-Wl,--as-needed', testflags=True) if not conf.CHECK_NEED_LC("-lc not needed"): conf.ADD_LDFLAGS('-lc', testflags=False) |