aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-10-24 11:36:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-10-24 11:36:55 +0800
commit914ec21b499162ad71be4bfbb3e6ea8198042b2b (patch)
tree00be86bcac2092cc67dc366eb06c8a890e69ee41 /configure.ac
parenta952dca522c1e1e9f7d883dfb67d5b444d4dd649 (diff)
downloadgsoc2013-evolution-914ec21b499162ad71be4bfbb3e6ea8198042b2b.tar.gz
gsoc2013-evolution-914ec21b499162ad71be4bfbb3e6ea8198042b2b.tar.zst
gsoc2013-evolution-914ec21b499162ad71be4bfbb3e6ea8198042b2b.zip
Put compiler warning flags in AM_CPPFLAGS instead of CFLAGS.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b1c2c398e6..4d74d468d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,7 +92,9 @@ dnl -Wmissing-format-attribute
dnl -Wshadow
dnl -Wformat-nonliteral
-CFLAGS="$CFLAGS $WARNING_FLAGS"
+AM_CPPFLAGS="$WARNING_FLAGS"
+AC_SUBST(AM_CPPFLAGS)
+
LDFLAGS="$LDFLAGS -Wl,--no-undefined"
AC_CANONICAL_HOST