Add more maintainer CFLAGS
Be even more anal-retentive when the maintainer flags are enabled. Kudos to Benjamin Otte.
This commit is contained in:
parent
6a980793c6
commit
affd915b84
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user