summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-10-30 11:37:34 +0100
committerBjoern Jacke <bj@sernet.de>2012-10-30 13:18:50 +0100
commit51692042d9f898c5e8f1cbc78031e37d23ec032a (patch)
treef3e500cca7da0b1e142c1264a22a46f2350b7780
parent0342ca40629d5a57db02c7f840809dfa0bde6780 (diff)
downloadsamba-51692042d9f898c5e8f1cbc78031e37d23ec032a.tar.gz
samba-51692042d9f898c5e8f1cbc78031e37d23ec032a.tar.xz
samba-51692042d9f898c5e8f1cbc78031e37d23ec032a.zip
wafbuild: merge the missing IBM compiler Werror flag "-qhalt=w" to waf
-rw-r--r--lib/replace/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 7c2d5191d7..8d97f5b234 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -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: