summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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: