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.

Backports commit e4650c81b3d15ba67236815defbb475c4bdf8690 from qemu
This commit is contained in:
Thomas Huth 2018-02-24 18:55:58 -05:00 committed by Lioncash
parent b918dd95f3
commit aee5c93f58
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

2
qemu/configure vendored
View file

@ -671,7 +671,7 @@ z_version=$(cut -f3 -d. $source_path/VERSION)
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"