diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-29 11:50:25 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-30 23:49:00 +1100 |
commit | d489880ecd8b68aaabb6c154c85cc72a454d712a (patch) | |
tree | d38029e2bee25690c5a67e291c187d79c86b40a1 /buildtools/wafsamba/samba_autoconf.py | |
parent | 65743f932b511db009655847e77288c95c0aa525 (diff) | |
download | samba-d489880ecd8b68aaabb6c154c85cc72a454d712a.tar.gz samba-d489880ecd8b68aaabb6c154c85cc72a454d712a.tar.xz samba-d489880ecd8b68aaabb6c154c85cc72a454d712a.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'buildtools/wafsamba/samba_autoconf.py')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 34acfdd1a9f..f987d1d41a2 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) |