(CFLAGS): Add --Wformat-noliteral in gcc mode.

This commit is contained in:
Werner Koch 2003-12-17 12:28:54 +00:00
parent cbd57643a7
commit a1bd2fa625
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-12-17 Werner Koch <wk@gnupg.org>
* configure.ac (CFLAGS): Add --Wformat-noliteral in gcc mode.
2003-12-16 Werner Koch <wk@gnupg.org>
* configure.ac: Check for funopen and fopencookie as part of the

View File

@ -894,6 +894,7 @@ esac
if test "$GCC" = yes; then
if test "$USE_MAINTAINER_MODE" = "yes"; then
CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
CFLAGS="$CFLAGS -Wformat-nonliteral"
else
CFLAGS="$CFLAGS -Wall"
fi