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:
parent
0342ca4062
commit
51692042d9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user