From 5954e7173a5aecb0998e359c2eff97e75fbe57f4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 13 Oct 2010 14:10:58 +0200 Subject: [PATCH] wafsamba/developer: Forbid shared objects with unresolved symbols, if the linker supports such a flag. Autobuild-User: Jelmer Vernooij Autobuild-Date: Wed Oct 13 12:52:22 UTC 2010 on sn-devel-104 --- buildtools/wafsamba/samba_autoconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 5ff8416092f..98352044b52 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: -- 2.11.4.GIT