configure: Enable -Werror for MinGW builds, too

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]>
This commit is contained in:
Thomas Huth authored and Paolo Bonzini committed 2016-06-16 18:39:04 +02:00
1 parent e9abfcb57f
commit e4650c81b3
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -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"