summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index c21a8f87e9..7c2d5191d7 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"]:
+ for f in ["-Werror", "-w2", "-errwarn=%all"]:
if conf.CHECK_CFLAGS([f], '''
'''):
if not 'WERROR_CFLAGS' in conf.env: