From 77cdfe3ecc06a9aef9ea4201a1a76a9a7b47a73f Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 3 Jul 2018 14:36:16 +1000 Subject: socket_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 --- third_party/socket_wrapper/wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'third_party') diff --git a/third_party/socket_wrapper/wscript b/third_party/socket_wrapper/wscript index 86c9b3b59ed..f48debe8b15 100644 --- a/third_party/socket_wrapper/wscript +++ b/third_party/socket_wrapper/wscript @@ -36,6 +36,7 @@ def configure(conf): ''', 'HAVE_DESTRUCTOR_ATTRIBUTE', addmain=False, + strict=True, msg='Checking for library destructor support') # check HAVE_FUNCTION_ATTRIBUTE_FORMAT @@ -48,6 +49,7 @@ def configure(conf): ''', 'HAVE_FUNCTION_ATTRIBUTE_FORMAT', addmain=False, + strict=True, msg='Checking for printf format validation support') conf.CHECK_HEADERS('sys/signalfd.h') -- cgit v1.2.1