summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2018-07-03 14:45:04 +1000
committerKarolin Seeger <kseeger@samba.org>2018-07-10 10:44:13 +0200
commit81a05ba6d16af22eade72892b608cfaa2e227ecf (patch)
treefa36e62638a7a01ee3c5047975b67a23a9ef7be5 /third_party
parentd3b773d757d836ce9189e61e9c010d6154513d59 (diff)
downloadsamba-81a05ba6d16af22eade72892b608cfaa2e227ecf.tar.gz
pam_wrapper: Be strict when checking __attribute__ features
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit 65b0746694a0cbd8f40c5e89dc9a680044f7a1a9)
Diffstat (limited to 'third_party')
-rw-r--r--third_party/pam_wrapper/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/pam_wrapper/wscript b/third_party/pam_wrapper/wscript
index b9acf1b96eb..24bc4e5672b 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')