diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-24 12:56:30 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:04 +1000 |
commit | 7848344d55116e33b7f5a4bacce29eaab3fa99c9 (patch) | |
tree | 03a8fc1f9bfb5ebb70e8133516c915e2ed19ecda /buildtools/wafsamba/samba_autoconf.py | |
parent | 3d5dda63e33283ac2762782fc921d469f2b3cda0 (diff) | |
download | samba-7848344d55116e33b7f5a4bacce29eaab3fa99c9.tar.gz samba-7848344d55116e33b7f5a4bacce29eaab3fa99c9.tar.bz2 samba-7848344d55116e33b7f5a4bacce29eaab3fa99c9.zip |
build: split out the base waf rules into buildtools/wafsamba/wscript
this stops lib/replace becoming a mess
Diffstat (limited to 'buildtools/wafsamba/samba_autoconf.py')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index af09d72910..31106d7819 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -508,6 +508,9 @@ def SAMBA_CONFIG_H(conf, path=None): conf.ADD_CFLAGS('-Wall -g -Wfatal-errors -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k', testflags=True) + if Options.options.pedantic: + conf.ADD_CFLAGS('-W', testflags=True) + if path is None: conf.write_config_header('config.h', top=True) else: |