From 006e49e116b790807d57931c795255aaf25a8935 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Tue, 3 Aug 2010 21:56:34 +0100 Subject: Use -Wformat-security by default. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 52ea29b0b..c6d2fc7a2 100644 --- a/configure.ac +++ b/configure.ac @@ -2720,6 +2720,8 @@ CC_CHECK_CFLAGS_APPEND([-Wformat=2 -Wformat], break; ]) +CC_CHECK_CFLAGS_APPEND([-Wformat-security]) + dnl check for strict aliasing problem, get the highest between =2 and dnl normal. CC_CHECK_CFLAGS_APPEND([-Wstrict-aliasing=2 -Wstrict-aliasing], [break;]) -- cgit v1.2.3