[Spice-commits] configure.ac

Christophe Fergau teuf at kemper.freedesktop.org
Thu Feb 9 06:52:04 PST 2012


 configure.ac |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 9eb0e4b5778689f8e97e85d51608a2f7d4d90189
Author: Erlon Cruz <erlon.cruz at br.flextronics.com>
Date:   Fri Jan 27 11:38:40 2012 -0200

    Fix mandatory -Werror option
    
    Compilation was breaking due to warning errors even when configuring with
    --enable-werror=no. This patch fix this.

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


More information about the Spice-commits mailing list