summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2018-07-03 14:36:16 +1000
committerMartin Schwenke <martins@samba.org>2018-07-04 23:56:43 +0200
commit77cdfe3ecc06a9aef9ea4201a1a76a9a7b47a73f (patch)
treee98432199c7fd18cf6beee2ce4f965eec42ea9be /third_party
parenta9775c2429554e029164ad9b98dc8c8c749c50fe (diff)
downloadsamba-77cdfe3ecc06a9aef9ea4201a1a76a9a7b47a73f.tar.gz
socket_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/socket_wrapper/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/socket_wrapper/wscript b/third_party/socket_wrapper/wscript
index 86c9b3b59ed..f48debe8b15 100644
--- a/third_party/socket_wrapper/wscript
+++ b/third_party/socket_wrapper/wscript
@@ -36,6 +36,7 @@ def configure(conf):
''',
'HAVE_DESTRUCTOR_ATTRIBUTE',
addmain=False,
+ strict=True,
msg='Checking for library destructor support')
# check HAVE_FUNCTION_ATTRIBUTE_FORMAT
@@ -48,6 +49,7 @@ def configure(conf):
''',
'HAVE_FUNCTION_ATTRIBUTE_FORMAT',
addmain=False,
+ strict=True,
msg='Checking for printf format validation support')
conf.CHECK_HEADERS('sys/signalfd.h')