summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-10-30 12:19:24 +0100
committerBjoern Jacke <bj@sernet.de>2012-10-30 13:18:50 +0100
commit9a03cc93f45a6908c73afe2d059a4ebf5534fdb7 (patch)
tree7970ae4dd1c1b8fc579e5465d32cf666d8221c23
parentfdead585dc11101761ac975935134c6a84ea3b4f (diff)
downloadsamba-9a03cc93f45a6908c73afe2d059a4ebf5534fdb7.tar.gz
samba-9a03cc93f45a6908c73afe2d059a4ebf5534fdb7.tar.bz2
samba-9a03cc93f45a6908c73afe2d059a4ebf5534fdb7.zip
wafbuild: use WERROR_FLAGS in wscript_configure_system_mitkrb5
-rw-r--r--wscript_configure_system_mitkrb54
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5
index 31ed7f7af1..a62d00bdbb 100644
--- a/wscript_configure_system_mitkrb5
+++ b/wscript_configure_system_mitkrb5
@@ -154,7 +154,7 @@ conf.CHECK_CODE('''
}''',
'HAVE_KRB5_ENCTYPE_TO_STRING_WITH_SIZE_T_ARG',
headers='krb5.h', lib='krb5 k5crypto',
- addmain=False, cflags='-Werror',
+ addmain=False, cflags=conf.env['WERROR_CFLAGS'],
msg="Checking whether krb5_enctype_to_string takes size_t argument")
conf.CHECK_CODE('''
@@ -167,7 +167,7 @@ conf.CHECK_CODE('''
}''',
'HAVE_KRB5_ENCTYPE_TO_STRING_WITH_KRB5_CONTEXT_ARG',
headers='krb5.h stdlib.h', lib='krb5',
- addmain=False, cflags='-Werror',
+ addmain=False, cflags=conf.env['WERROR_CFLAGS'],
msg="Checking whether krb5_enctype_to_string takes krb5_context argument")
conf.CHECK_CODE('''
int main(void) {