Add more maintainer CFLAGS

Be even more anal-retentive when the maintainer flags are enabled.

Kudos to Benjamin Otte.
This commit is contained in:
Emmanuele Bassi 2008-12-23 20:53:44 +00:00
parent 6a980793c6
commit affd915b84

View File

@ -580,7 +580,7 @@ AC_ARG_ENABLE([maintainer-flags],
enable_maintainer_flags=maintainer_flags_default) enable_maintainer_flags=maintainer_flags_default)
if test "x$enable_maintainer_flags" = "xyes"; then if test "x$enable_maintainer_flags" = "xyes"; then
CPPFLAGS="$CPPFLAGS -Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized" CPPFLAGS="$CPPFLAGS -Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self"
fi fi