summaryrefslogtreecommitdiff
path: root/third_party/uid_wrapper
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2018-07-03 14:45:39 +1000
committerMartin Schwenke <martins@samba.org>2018-07-05 03:01:33 +0200
commit734ea271ab01e74d0694f3fbc9acdf980d866b30 (patch)
treea217de31bd7019669a0de23054617bc47433187c /third_party/uid_wrapper
parentc220e310b40c67b73248141b3af544bad19fd39d (diff)
downloadsamba-734ea271ab01e74d0694f3fbc9acdf980d866b30.tar.gz
uid_wrapper: Be strict when checking __attribute__ features
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Thu Jul 5 03:01:33 CEST 2018 on sn-devel-144
Diffstat (limited to 'third_party/uid_wrapper')
-rw-r--r--third_party/uid_wrapper/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/uid_wrapper/wscript b/third_party/uid_wrapper/wscript
index 6e1540f108d..6344ebf5eba 100644
--- a/third_party/uid_wrapper/wscript
+++ b/third_party/uid_wrapper/wscript
@@ -51,7 +51,8 @@ def configure(conf):
''',
'HAVE_ADDRESS_SANITIZER_ATTRIBUTE',
addmain=False,
- cflags='-Wall -Wextra -Werror',
+ cflags='-Wall -Wextra',
+ strict=True,
msg='Checking for address sanitizer attribute')
# check HAVE_FUNCTION_ATTRIBUTE_FORMAT
@@ -64,6 +65,7 @@ def configure(conf):
''',
'HAVE_FUNCTION_ATTRIBUTE_FORMAT',
addmain=False,
+ strict=True,
msg='Checking for printf format validation support')
# Prototype checks
conf.CHECK_C_PROTOTYPE('setgroups',