summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2019-02-10 00:47:59 +0100
committerBjoern Jacke <bjacke@samba.org>2019-02-17 13:33:14 +0100
commit99dd2ae81079dd210612d97242ffc1835a23fdf0 (patch)
treea7de09df44903850b67d54fb1ad2076dbf155f47 /buildtools
parentc1715406f5b66b73395c9155f782b5aaa9ea51e6 (diff)
downloadsamba-99dd2ae81079dd210612d97242ffc1835a23fdf0.tar.gz
waf: remove redundant WERROR flag
CHECK_CFLAGS always uses WERROR flags Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 82011a8da1b..4ed3ae16b1a 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -449,7 +449,7 @@ def configure(conf):
# See memset_s() details here:
# https://en.cppreference.com/w/c/string/byte/memset
#
- if conf.CHECK_CFLAGS(['-D__STDC_WANT_LIB_EXT1__=1'] + conf.env.WERROR_CFLAGS):
+ if conf.CHECK_CFLAGS(['-D__STDC_WANT_LIB_EXT1__=1']):
conf.ADD_CFLAGS('-D__STDC_WANT_LIB_EXT1__=1')
# on Tru64 certain features are only available with _OSF_SOURCE set to 1