configure: Add -Wno-format-security to default CFLAGS

Either due to a change in Ubuntu 13.10 or GCC 4.8 -Wno-format has no
effect if -Wformat-security is enabled (which it is on Ubuntu) so we
also disable the latter by default.
This commit is contained in:
Tobias Brunner 2013-11-25 18:20:13 +01:00
parent 54ca25800c
commit 2d7852d29a
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ fi
# ===========================
if test -z "$CFLAGS"; then
CFLAGS="-g -O2 -Wall -Wno-format -Wno-pointer-sign"
CFLAGS="-g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign"
fi
AC_PROG_CC
AM_PROG_CC_C_O