summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2018-07-03 14:45:04 +1000
committerMartin Schwenke <martins@samba.org>2018-07-04 23:56:43 +0200
commit65b0746694a0cbd8f40c5e89dc9a680044f7a1a9 (patch)
treecff124be38119dbae1a3ded76d1b5e706efce198 /third_party
parent9a670bde563b269587c051c655a7b3778c008c87 (diff)
downloadsamba-65b0746694a0cbd8f40c5e89dc9a680044f7a1a9.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>
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 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')