diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-13 14:10:58 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-13 12:52:22 +0000 |
commit | 5954e7173a5aecb0998e359c2eff97e75fbe57f4 (patch) | |
tree | 135accb9b326e29291514e550a14928c8d38679a | |
parent | 870de461cbc42f48ab67c4ba0e768e10580924c5 (diff) | |
download | samba-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.py | 2 |
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: |