summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2018-07-03 14:44:48 +1000
committerMartin Schwenke <martins@samba.org>2018-07-04 23:56:43 +0200
commit9a670bde563b269587c051c655a7b3778c008c87 (patch)
tree9e5e84a4f4cd104d41d9ebeba5c671aa4743ddfd /third_party
parent59dfd2d797b7fa1610610ad1db2f31d5dfae4f06 (diff)
downloadsamba-9a670bde563b269587c051c655a7b3778c008c87.tar.gz
nss_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/nss_wrapper/wscript2
1 files changed, 2 insertions, 0 deletions
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')