From 914ec21b499162ad71be4bfbb3e6ea8198042b2b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 23 Oct 2009 23:36:55 -0400 Subject: Put compiler warning flags in AM_CPPFLAGS instead of CFLAGS. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit