From aee5c93f583d87fd390843677c9c665ae9121376 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Sat, 24 Feb 2018 18:55:58 -0500 Subject: [PATCH] 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 --- qemu/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/configure b/qemu/configure index f1625f4d..f049954c 100755 --- a/qemu/configure +++ b/qemu/configure @@ -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"