aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
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