qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 04/30] configure: Enable -Werror for MinGW builds, to


From: Paolo Bonzini
Subject: [Qemu-devel] [PULL 04/30] configure: Enable -Werror for MinGW builds, too
Date: Thu, 16 Jun 2016 16:15:59 +0200

From: Thomas Huth <address@hidden>

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 <address@hidden>
Message-Id: <address@hidden>
Tested-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index bd9318a..cbe013b 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"
-- 
2.5.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]