From c220e310b40c67b73248141b3af544bad19fd39d Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 3 Jul 2018 14:45:24 +1000 Subject: resolv_wrapper: Be strict when checking __attribute__ features BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493 Signed-off-by: Amitay Isaacs Reviewed-by: Andreas Schneider --- third_party/resolv_wrapper/wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'third_party') diff --git a/third_party/resolv_wrapper/wscript b/third_party/resolv_wrapper/wscript index be3e82be3ea..bb7722e9775 100644 --- a/third_party/resolv_wrapper/wscript +++ b/third_party/resolv_wrapper/wscript @@ -36,6 +36,7 @@ def configure(conf): ''', 'HAVE_DESTRUCTOR_ATTRIBUTE', addmain=False, + strict=True, msg='Checking for library destructor support') # check HAVE_ATTRIBUTE_PRINTF_FORMAT @@ -48,6 +49,7 @@ def configure(conf): ''', 'HAVE_ATTRIBUTE_PRINTF_FORMAT', addmain=False, + strict=True, msg='Checking for printf format validation support') conf.CHECK_HEADERS('resolv.h') -- cgit v1.2.1