From 65b0746694a0cbd8f40c5e89dc9a680044f7a1a9 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 3 Jul 2018 14:45:04 +1000 Subject: pam_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/pam_wrapper/wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'third_party') diff --git a/third_party/pam_wrapper/wscript b/third_party/pam_wrapper/wscript index f70fc66351a..7d4a790caaa 100644 --- a/third_party/pam_wrapper/wscript +++ b/third_party/pam_wrapper/wscript @@ -44,6 +44,7 @@ def configure(conf): ''', 'HAVE_DESTRUCTOR_ATTRIBUTE', addmain=False, + strict=True, msg='Checking for library destructor support') # check HAVE_FUNCTION_ATTRIBUTE_FORMAT @@ -56,6 +57,7 @@ def configure(conf): ''', 'HAVE_FUNCTION_ATTRIBUTE_FORMAT', addmain=False, + strict=True, msg='Checking for printf format validation support') conf.CHECK_HEADERS('security/pam_appl.h') -- cgit v1.2.1