From e4650c81b3d15ba67236815defbb475c4bdf8690 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 8 Jun 2016 10:13:26 +0200 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. Signed-off-by: Thomas Huth Message-Id: <1465373606-18486-1-git-send-email-thuth@redhat.com> Tested-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index bd9318af58..cbe013b6bd 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"