From 7c7d3ebb41f25cb9b83b0f027905f9634d450f19 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 26 Feb 2014 07:34:51 +0100 Subject: [PATCH] wafsamba: change the default to allow_warnings=False for CURRENT_CFLAGS() Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- 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 c8180253d86..9e50ee54414 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -765,7 +765,7 @@ def ADD_EXTRA_INCLUDES(conf, includes): -def CURRENT_CFLAGS(bld, target, cflags, allow_warnings=True, hide_symbols=False): +def CURRENT_CFLAGS(bld, target, cflags, allow_warnings=False, hide_symbols=False): '''work out the current flags. local flags are added first''' ret = TO_LIST(cflags) if not 'EXTRA_CFLAGS' in bld.env: -- 2.11.4.GIT