build: Add -Wsign-compare to GCC flags

This commit is contained in:
Kristian Høgsberg 2014-02-01 11:02:41 -08:00
parent 1e47a93f85
commit 6fd73cd3c0
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ AM_CONDITIONAL(BUILD_SETBACKLIGHT, test "x$enable_setbacklight" = "xyes")
if test "x$GCC" = "xyes"; then
GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter \
-Wno-missing-field-initializers -g -fvisibility=hidden \
-Wstrict-prototypes -Wmissing-prototypes"
-Wstrict-prototypes -Wmissing-prototypes -Wsign-compare"
fi
AC_SUBST(GCC_CFLAGS)