[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH] configure: Enable -Werror for MinGW builds, too
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [RFC PATCH] configure: Enable -Werror for MinGW builds, too |
Date: |
Wed, 8 Jun 2016 10:13:26 +0200 |
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>
---
... at least it compiles without errors for me here. I hope that's
also true for different versions of MinGW ... would be great if
everybody who has such a compiler installed could give it a try!
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 4627d2c..2e5b818 100755
--- a/configure
+++ b/configure
@@ -1393,7 +1393,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"
--
1.8.3.1
- [Qemu-devel] [RFC PATCH] configure: Enable -Werror for MinGW builds, too,
Thomas Huth <=