diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-10-24 11:36:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-10-24 11:36:55 +0800 |
commit | 914ec21b499162ad71be4bfbb3e6ea8198042b2b (patch) | |
tree | 00be86bcac2092cc67dc366eb06c8a890e69ee41 | |
parent | a952dca522c1e1e9f7d883dfb67d5b444d4dd649 (diff) | |
download | gsoc2013-evolution-914ec21b499162ad71be4bfbb3e6ea8198042b2b.tar.gz gsoc2013-evolution-914ec21b499162ad71be4bfbb3e6ea8198042b2b.tar.zst gsoc2013-evolution-914ec21b499162ad71be4bfbb3e6ea8198042b2b.zip |
Put compiler warning flags in AM_CPPFLAGS instead of CFLAGS.
-rw-r--r-- | configure.ac | 4 |
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 |