summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-13 14:10:58 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-13 12:52:22 +0000
commit5954e7173a5aecb0998e359c2eff97e75fbe57f4 (patch)
tree135accb9b326e29291514e550a14928c8d38679a
parent870de461cbc42f48ab67c4ba0e768e10580924c5 (diff)
downloadsamba-5954e7173a5aecb0998e359c2eff97e75fbe57f4.tar.gz
samba-5954e7173a5aecb0998e359c2eff97e75fbe57f4.tar.bz2
samba-5954e7173a5aecb0998e359c2eff97e75fbe57f4.zip
wafsamba/developer: Forbid shared objects with unresolved symbols, if
the linker supports such a flag. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 12:52:22 UTC 2010 on sn-devel-104
-rw-r--r--buildtools/wafsamba/samba_autoconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 5ff8416092..98352044b5 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -562,7 +562,7 @@ def SAMBA_CONFIG_H(conf, path=None):
if Options.options.developer:
# we add these here to ensure that -Wstrict-prototypes is not set during configure
- conf.ADD_CFLAGS('-Wall -g -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k',
+ conf.ADD_CFLAGS('-Wall -g -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k -Wl,-no-undefined',
testflags=True)
if Options.options.picky_developer: