]> git.sur5r.net Git - openocd/commitdiff
Zach Welch <zw@superlucidity.net> add -Wformat-security (4 of 4)
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 21 Apr 2009 05:35:51 +0000 (05:35 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 21 Apr 2009 05:35:51 +0000 (05:35 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1483 b42882b7-edfa-0310-969c-e2dbd0fdcd60

configure.in

index 158d451fba4a5a02ced7617848e31086f0cd145a..039f7e0ba795a75553c82797d83ab637de3e3a71 100644 (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