diff options
-rw-r--r-- | configure.ac | 2 |
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;]) |