Zach Welch <zw@superlucidity.net> add -Wformat-security (4 of 4)

git-svn-id: svn://svn.berlios.de/openocd/trunk@1483 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe 2009-04-21 05:35:51 +00:00
parent 5dbf973910
commit 713854f714

View File

@ -692,7 +692,7 @@ AC_PROG_CC
AC_PROG_RANLIB
# set default gcc warnings
GCC_WARNINGS="-Wall -Wstrict-prototypes"
GCC_WARNINGS="-Wall -Wstrict-prototypes -Wformat-security"
if test "${gcc_wextra}" = yes; then
GCC_WARNINGS="${GCC_WARNINGS} -Wextra -Wno-unused-parameter"
fi