From: Thomas Huth <[email protected]>

MinGW seems to compile currently without warnings, so it should
be safe to enable -Werror now for this environment, too.

Signed-off-by: Thomas Huth <[email protected]>
Message-Id: <[email protected]>
Tested-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index bd9318a..cbe013b 100755
--- a/configure
+++ b/configure
@@ -1390,7 +1390,7 @@ fi
 # by default.  Only enable by default for git builds
 if test -z "$werror" ; then
     if test -d "$source_path/.git" -a \
-        "$linux" = "yes" ; then
+        \( "$linux" = "yes" -o "$mingw32" = "yes" \) ; then
         werror="yes"
     else
         werror="no"
-- 
2.5.5



Reply via email to