summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2019-02-10 00:44:14 +0100
committerBjoern Jacke <bjacke@samba.org>2019-02-17 13:33:14 +0100
commitc1715406f5b66b73395c9155f782b5aaa9ea51e6 (patch)
treef65f5e74a21f69180223d890ab1210bc2e0248d3 /buildtools
parent2ba972e90f244089a1bc21f940c4edb75ae4e089 (diff)
downloadsamba-c1715406f5b66b73395c9155f782b5aaa9ea51e6.tar.gz
waf: remove duplicate WERROR cflags
WERROR flags are already added by the strict=True switch. 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 75f24158600..82011a8da1b 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -347,7 +347,7 @@ def configure(conf):
else:
conf.env.HAVE_LD_VERSION_SCRIPT = False
- if conf.CHECK_CFLAGS(['-fvisibility=hidden'] + conf.env.WERROR_CFLAGS):
+ if conf.CHECK_CFLAGS(['-fvisibility=hidden']):
conf.env.VISIBILITY_CFLAGS = '-fvisibility=hidden'
conf.CHECK_CODE('''int main(void) { return 0; }
__attribute__((visibility("default"))) void vis_foo2(void) {}\n''',