[pygobject] configure.ac: Always disable -Werror



commit 36e786e1a2305c001c8c067adfee9d731c2ec0fb
Author: Christoph Reiter <creiter src gnome org>
Date:   Thu Apr 20 09:43:50 2017 +0200

    configure.ac: Always disable -Werror
    
    Instead of disabling it for release builds do it always.
    While JHBuild uses --disable-Werror by default, gnome-continuous does not.
    
    See https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00009.html

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 673cd00..67d703d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -179,7 +179,9 @@ AC_ARG_WITH(common,
     with_common=yes)
 AM_CONDITIONAL(WITH_COMMON, test "$with_common" = "yes")
 
-AX_COMPILER_FLAGS()
+# Disable -Werror always, see
+# https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00009.html
+AX_COMPILER_FLAGS(,, [yes])
 # Disable some warnings, either because they get generated by headers of
 # dependencies we don't control or because it was hard to fix them.
 # Feel free and try to get rid of them.


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