summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2018-07-03 14:44:48 +1000
committerKarolin Seeger <kseeger@samba.org>2018-07-10 10:44:13 +0200
commitd3b773d757d836ce9189e61e9c010d6154513d59 (patch)
treec991abffd5ebddc12571e3fb543e307e89c8017d /third_party
parenta4ada0b6318dae85075c8a76a6989a4d4b27d889 (diff)
downloadsamba-d3b773d757d836ce9189e61e9c010d6154513d59.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> (cherry picked from commit 9a670bde563b269587c051c655a7b3778c008c87)
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')