mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-21 19:48:05 +01:00
(CFLAGS): Add --Wformat-noliteral in gcc mode.
This commit is contained in:
parent
cbd57643a7
commit
a1bd2fa625
@ -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>
|
2003-12-16 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* configure.ac: Check for funopen and fopencookie as part of the
|
* configure.ac: Check for funopen and fopencookie as part of the
|
||||||
|
@ -894,6 +894,7 @@ esac
|
|||||||
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
||||||
if test "$USE_MAINTAINER_MODE" = "yes"; then
|
if test "$USE_MAINTAINER_MODE" = "yes"; then
|
||||||
CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
|
CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
|
||||||
|
CFLAGS="$CFLAGS -Wformat-nonliteral"
|
||||||
else
|
else
|
||||||
CFLAGS="$CFLAGS -Wall"
|
CFLAGS="$CFLAGS -Wall"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user