From d3b773d757d836ce9189e61e9c010d6154513d59 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 3 Jul 2018 14:44:48 +1000 Subject: [PATCH] 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) --- third_party/nss_wrapper/wscript | 2 ++ 1 file changed, 2 insertions(+) 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') -- 2.47.2