From: Amitay Isaacs Date: Tue, 3 Jul 2018 04:44:48 +0000 (+1000) Subject: nss_wrapper: Be strict when checking __attribute__ features X-Git-Tag: ldb-1.3.6~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3b773d757d836ce9189e61e9c010d6154513d59;p=thirdparty%2Fsamba.git nss_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 9a670bde563b269587c051c655a7b3778c008c87) --- diff --git a/third_party/nss_wrapper/wscript b/third_party/nss_wrapper/wscript index 90c6e71d6e9..d50dd5cbb17 100644 --- a/third_party/nss_wrapper/wscript +++ b/third_party/nss_wrapper/wscript @@ -38,6 +38,7 @@ def configure(conf): ''', 'HAVE_DESTRUCTOR_ATTRIBUTE', addmain=False, + strict=True, msg='Checking for library destructor support') # check HAVE_ATTRIBUTE_PRINTF_FORMAT @@ -50,6 +51,7 @@ def configure(conf): ''', 'HAVE_ATTRIBUTE_PRINTF_FORMAT', addmain=False, + strict=True, msg='Checking for printf format validation support') conf.CHECK_FUNCS('gethostbyaddr_r gethostbyname_r')