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:
parent
54ca25800c
commit
2d7852d29a
|
@ -284,7 +284,7 @@ fi
|
||||||
# ===========================
|
# ===========================
|
||||||
|
|
||||||
if test -z "$CFLAGS"; then
|
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
|
fi
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
|
|
Loading…
Reference in New Issue