build: Add -Wsign-compare to GCC flags

dev
Kristian Høgsberg 11 years ago
parent 1e47a93f85
commit 6fd73cd3c0
  1. 2
      configure.ac

@ -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)

Loading…
Cancel
Save