From d489880ecd8b68aaabb6c154c85cc72a454d712a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 29 Oct 2010 11:50:25 +1100 Subject: waf: added env.DEVELOPER_MODE flag this makes it easier to add project rules that are only run in developer mode Pair-Programmed-With: Andrew Bartlett --- buildtools/wafsamba/samba_autoconf.py | 1 + 1 file changed, 1 insertion(+) (limited to 'buildtools/wafsamba/samba_autoconf.py') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 34acfdd1a9..f987d1d41a 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -577,6 +577,7 @@ def SAMBA_CONFIG_H(conf, path=None): # 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', testflags=True) + conf.env.DEVELOPER_MODE = True if Options.options.picky_developer: conf.ADD_CFLAGS('-Werror', testflags=True) -- cgit