aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-06-08 10:13:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-16 18:39:04 +0200
commite4650c81b3d15ba67236815defbb475c4bdf8690 (patch)
treef70ae0fb5018c70c949c4f871117f984d1346a78 /configure
parente9abfcb57fd222d58a0c3c71917f9e40d09e9d35 (diff)
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 <thuth@redhat.com> Message-Id: <1465373606-18486-1-git-send-email-thuth@redhat.com> Tested-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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"