From 734ea271ab01e74d0694f3fbc9acdf980d866b30 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 3 Jul 2018 14:45:39 +1000 Subject: uid_wrapper: Be strict when checking __attribute__ features BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493 Signed-off-by: Amitay Isaacs Reviewed-by: Andreas Schneider Autobuild-User(master): Martin Schwenke Autobuild-Date(master): Thu Jul 5 03:01:33 CEST 2018 on sn-devel-144 --- third_party/uid_wrapper/wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'third_party') 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', -- cgit v1.2.1