diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6e707c4dc..7ef5ad5a5 100644 --- a/configure.ac +++ b/configure.ac @@ -1282,8 +1282,8 @@ AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR") weechat_libdir=${libdir}/weechat AC_SUBST(weechat_libdir) -COMMON_CFLAGS="-fsigned-char -Wall -Wextra -Werror-implicit-function-declaration" -COMMON_CXXFLAGS="-fsigned-char -Wall -Wextra" +COMMON_CFLAGS="-fsigned-char -Wall -Wextra -Werror-implicit-function-declaration -Wformat-overflow=2 -Wformat-truncation=2" +COMMON_CXXFLAGS="-fsigned-char -Wall -Wextra -Wformat-overflow=2 -Wformat-truncation=2" AC_MSG_CHECKING([whether we have GNU assembler]) GAS=`as --version < /dev/null 2>/dev/null | grep GNU` |