From: Björn Jacke Date: Sat, 9 Feb 2019 23:47:59 +0000 (+0100) Subject: waf: remove redundant WERROR flag X-Git-Tag: ldb-1.6.1~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99dd2ae81079dd210612d97242ffc1835a23fdf0;p=thirdparty%2Fsamba.git waf: remove redundant WERROR flag CHECK_CFLAGS always uses WERROR flags Signed-off-by: Bjoern Jacke Reviewed-by: Andreas Schneider --- 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