From 577034b3cd18c518140b91ade6b94487734ed92a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 20 Jun 2011 21:22:59 +1000 Subject: build: disable -Wl,--as-needed to try and fix the build The issue here is that the source3 components now built as part of the top level build do not have their depenencies fully specified, and this causes the build to fail for many of our users. When we fix that, we can restore this flag, so we again find that kind of bug, which will show up for our Gentoo users regardless. Andrew Bartlett --- wscript | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 52d0ea4f44..1fa0d8f543 100755 --- a/wscript +++ b/wscript @@ -124,8 +124,13 @@ def configure(conf): # strict as the strictest OS we support, so adding this here # allows us to find problems on our development hosts faster. # It also results in faster load time. - if sys.platform != "openbsd4": - conf.env.asneeded_ldflags = conf.ADD_LDFLAGS('-Wl,--as-needed', testflags=True) + + # 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 not conf.CHECK_NEED_LC("-lc not needed"): conf.ADD_LDFLAGS('-lc', testflags=False) -- cgit