From: Amitay Isaacs Date: Tue, 3 Jul 2018 04:45:24 +0000 (+1000) Subject: resolv_wrapper: Be strict when checking __attribute__ features X-Git-Tag: tevent-0.9.37~124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c220e310b40c67b73248141b3af544bad19fd39d;p=thirdparty%2Fsamba.git 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 --- 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')