[json-glib] build: Add more flags to the maintainer cflags list



commit 47cd2f678a8321faac0e2d00a3538181e7bc1cbf
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Thu Nov 12 11:27:36 2009 +0000

    build: Add more flags to the maintainer cflags list

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d0d9d99..4b79501 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,7 +117,9 @@ AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
         AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
                           ["-Werror -Wall -Wshadow -Wcast-align
                             -Wno-uninitialized -Wformat-security
-                            -Winit-self -Wempty-body"])
+                            -Wno-strict-aliasing -Winit-self
+                            -Wempty-body -Wdeclaration-after-statement
+                            -Wno-strict-aliasing -Wno-strict-aliasing"])
       ]
 )
 AC_SUBST([MAINTAINER_CFLAGS])



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