From: Amitay Isaacs Date: Tue, 3 Jul 2018 04:36:16 +0000 (+1000) Subject: socket_wrapper: Be strict when checking __attribute__ features X-Git-Tag: ldb-1.3.6~91 X-Git-Url: http://git.samba.org/samba.git/?p=vlendec%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=a4ada0b6318dae85075c8a76a6989a4d4b27d889 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 (cherry picked from commit 77cdfe3ecc06a9aef9ea4201a1a76a9a7b47a73f) --- diff --git a/third_party/socket_wrapper/wscript b/third_party/socket_wrapper/wscript index 1693b44eece..fac616e318b 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')