summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-08-03 21:56:34 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-08-03 21:56:34 +0100
commit006e49e116b790807d57931c795255aaf25a8935 (patch)
tree577a9e13c42c6a46cc635da38dafc2fb65c9bf49
parent5bd7fc722eeab67ea682af61e5166bc53dd9263e (diff)
downloadxine-lib-006e49e116b790807d57931c795255aaf25a8935.tar.gz
xine-lib-006e49e116b790807d57931c795255aaf25a8935.tar.bz2
Use -Wformat-security by default.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
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;])