Compilation was breaking due to warning errors even when configuring with 
--enable-werror=no. This patch fix this.
---
 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0f8ad7d..8cabbd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -405,7 +405,7 @@ dnl MAYBE_WARN="-Wall -Wno-sign-compare -Werror 
-Wno-deprecated-declarations"
 if test "$red_target" = "windows"; then
        MAYBE_WARN="-Wall -Wno-sign-compare -Wno-deprecated-declarations"
 else
-       MAYBE_WARN="-Wall -Wno-sign-compare -Werror 
-Wno-deprecated-declarations"
+       MAYBE_WARN="-Wall -Wno-sign-compare -Wno-deprecated-declarations"
 fi
 
 AC_ARG_ENABLE(werror,
@@ -419,7 +419,6 @@ else
 fi
 ])
 
-
 # invalidate cached value if MAYBE_WARN has changed
 if test "x$spice_cv_warn_maybe" != "x$MAYBE_WARN"; then
        unset spice_cv_warn_cflags
-- 
1.7.4.1

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to