diff options
author | Amitay Isaacs <amitay@gmail.com> | 2018-07-03 14:36:16 +1000 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-07-10 10:44:13 +0200 |
commit | a4ada0b6318dae85075c8a76a6989a4d4b27d889 (patch) | |
tree | f4d0c396d215c6782806f9829ee336d9706823af /third_party | |
parent | 7a0807d68b1e9543f059d90638119a39174538d4 (diff) | |
download | samba-a4ada0b6318dae85075c8a76a6989a4d4b27d889.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>
(cherry picked from commit 77cdfe3ecc06a9aef9ea4201a1a76a9a7b47a73f)
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/socket_wrapper/wscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/socket_wrapper/wscript b/third_party/socket_wrapper/wscript index 1693b44eece..fac616e318b 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') |