summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-20 21:22:59 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-21 09:36:23 +1000
commit577034b3cd18c518140b91ade6b94487734ed92a (patch)
tree9b3e36f5f75aff1bdd3d113bfd02113891cbc78a /wscript
parent179a3530d7aace977c6847f165033d9c6b6adba8 (diff)
downloadsamba-577034b3cd18c518140b91ade6b94487734ed92a.tar.gz
samba-577034b3cd18c518140b91ade6b94487734ed92a.tar.bz2
samba-577034b3cd18c518140b91ade6b94487734ed92a.zip
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
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript9
1 files changed, 7 insertions, 2 deletions
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)