2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Add -Wsign-compare to --enable-warnings

This commit is contained in:
Todd C. Miller
2013-10-23 15:02:22 -06:00
parent 994879c044
commit f4d2978f30
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -21813,7 +21813,7 @@ _ACEOF
if test -n "$GCC"; then
if test X"$enable_warnings" = X"yes" -o X"$with_devel" = X"yes"; then
CFLAGS="${CFLAGS} -Wall"
CFLAGS="${CFLAGS} -Wall -Wsign-compare"
fi
if test X"$enable_werror" = X"yes"; then
CFLAGS="${CFLAGS} -Werror"

View File

@@ -3632,7 +3632,7 @@ dnl We add -Wall and -Werror after all tests so they don't cause failures
dnl
if test -n "$GCC"; then
if test X"$enable_warnings" = X"yes" -o X"$with_devel" = X"yes"; then
CFLAGS="${CFLAGS} -Wall"
CFLAGS="${CFLAGS} -Wall -Wsign-compare"
fi
if test X"$enable_werror" = X"yes"; then
CFLAGS="${CFLAGS} -Werror"