summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2014-02-06 15:35:02 +0000
committerRobert Ancell <robert.ancell@canonical.com>2014-02-06 15:35:02 +0000
commit31d49309e5f05e4afa40c52cfbb530c3495f4a51 (patch)
treed6d6153c0186aa9bfdeab3c0d0221802708ff1c2 /configure.ac
parent0aa68b9e880182f0879c656f62be40572f27a822 (diff)
downloadlightdm-31d49309e5f05e4afa40c52cfbb530c3495f4a51.tar.gz
Add warning flags where they are missing and fix the resulting warnings
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4c0d0895..0ee9b54e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,8 +23,10 @@ if test "x$GCC" == xyes; then
-Werror=format-security \
-Werror=format=2 \
-Werror=missing-include-dirs"
+ WARN_CXXFLAGS="-Wall"
fi
AC_SUBST(WARN_CFLAGS)
+AC_SUBST(WARN_CXXFLAGS)
GOBJECT_INTROSPECTION_CHECK(0.9.5)