From 0342ca40629d5a57db02c7f840809dfa0bde6780 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Tue, 30 Oct 2012 11:32:52 +0100 Subject: wfabuild: fix the -errwarn compile flag test as in the autoconf build this must be "-errwarn=%all" --- lib/replace/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/replace') 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: -- cgit