summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoconf.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-23 19:25:11 +1000
committerJeremy Allison <jra@samba.org>2012-07-24 00:09:46 +0200
commit00050a12b07f5e148c57711a22bdf47ab6983931 (patch)
tree8c31e580c86f44cbc6d27f9c91610dcd06fb7fb6 /buildtools/wafsamba/samba_autoconf.py
parent43b070d8dd20d7a2a1a0ec1eb5ebc679cd699bf3 (diff)
downloadsamba-00050a12b07f5e148c57711a22bdf47ab6983931.tar.gz
samba-00050a12b07f5e148c57711a22bdf47ab6983931.tar.bz2
samba-00050a12b07f5e148c57711a22bdf47ab6983931.zip
build: Add -Werror=address to the developer build
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'buildtools/wafsamba/samba_autoconf.py')
-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 be5e9267dd..3e4b06a963 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -622,7 +622,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-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k -Wmissing-prototypes -fno-common',
+ conf.ADD_CFLAGS('-Wall -g -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k -Wmissing-prototypes -fno-common -Werror=address',
testflags=True)
conf.ADD_CFLAGS('-Wcast-qual', testflags=True)
conf.env.DEVELOPER_MODE = True