1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

wafbuild: merge the missing IBM compiler Werror flag "-qhalt=w" to waf

This commit is contained in:
Björn Jacke 2012-10-30 11:37:34 +01:00 committed by Bjoern Jacke
parent 0342ca4062
commit 51692042d9

View File

@ -54,7 +54,7 @@ struct foo bar = { .y = 'X', .x = 1 };
break
# Try to find the right extra flags for -Werror behaviour
for f in ["-Werror", "-w2", "-errwarn=%all"]:
for f in ["-Werror", "-w2", "-errwarn=%all", "-qhalt=w"]:
if conf.CHECK_CFLAGS([f], '''
'''):
if not 'WERROR_CFLAGS' in conf.env: