[evolution-data-server] Put compiler warning flags in AM_CPPFLAGS instead of CFLAGS.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Put compiler warning flags in AM_CPPFLAGS instead of CFLAGS.
- Date: Sat, 24 Oct 2009 04:00:44 +0000 (UTC)
commit fe8d93143f06b001dd0084624433f036cc4f22b4
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Oct 23 23:19:57 2009 -0400
Put compiler warning flags in AM_CPPFLAGS instead of CFLAGS.
configure.ac | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cf1ca3f..c979534 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,7 +161,6 @@ AS_COMPILER_FLAGS(WARNING_FLAGS,
-Wmissing-declarations -Wmissing-include-dirs
-Wmissing-noreturn -Wnested-externs -Wpointer-arith
-Wredundant-decls -Wundef -Wwrite-strings")
-AC_SUBST(WARNING_FLAGS)
dnl Other useful compiler warnings for test builds only.
dnl These may produce warnings we have no control over.
@@ -169,7 +168,9 @@ dnl
dnl -Wformat-nonliteral
dnl -Wmissing-format-attribute
dnl -Wshadow
-CFLAGS="$CFLAGS $WARNING_FLAGS"
+
+AM_CPPFLAGS="$WARNING_FLAGS"
+AC_SUBST(AM_CPPFLAGS)
dnl ******************************
dnl Initialize maintainer mode
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]