add -Wformat-security to autoconf

This commit is contained in:
Charles Kerr 2008-10-10 15:56:55 +00:00
parent 7566be5348
commit 436106f186
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ AC_SUBST(DBUS_GLIB_MINIMUM)
AC_PROG_CC
AC_PROG_CXX
if test "x$GCC" = "xyes" ; then
CFLAGS="-g -Wall -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops"
CXXFLAGS="-g -Wall -W -O3 -funroll-loops"
CFLAGS="-g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops"
CXXFLAGS="-g -Wall -Wformat-security -W -O3 -funroll-loops"
fi
AC_HEADER_STDC