summaryrefslogtreecommitdiff
path: root/wscript_configure_system_mitkrb5
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-10-30 12:19:24 +0100
committerKarolin Seeger <kseeger@samba.org>2012-11-02 10:11:43 +0100
commite95c162a4f386d64dbd21653a39317960cfc25f0 (patch)
treeb9fbdc9f16c5ba631e1ea3c27c71672bf08852d0 /wscript_configure_system_mitkrb5
parenta39bed9d6adac2bbd0270f42f0473f129fa67fa0 (diff)
downloadsamba-e95c162a4f386d64dbd21653a39317960cfc25f0.tar.gz
wafbuild: use WERROR_FLAGS in wscript_configure_system_mitkrb5
(cherry picked from commit 9a03cc93f45a6908c73afe2d059a4ebf5534fdb7)
Diffstat (limited to '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 31ed7f7af19..a62d00bdbbf 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) {