Don't bother with -Werror on Windows for now

We have so many warnings
This commit is contained in:
Tor Lillqvist 2009-10-21 20:48:35 +03:00 committed by Ralf Habacker
parent 4806504180
commit 97e5d4e13d

View file

@ -1023,7 +1023,8 @@ ld_supports_flag() {
fi
}
if test x$USE_MAINTAINER_MODE = xyes; then
# Don't bother with -Werror on Windows for now, too many warnings
if test x$dbus_win != xyes -a x$USE_MAINTAINER_MODE = xyes; then
if cc_supports_flag "-Werror"; then
CFLAGS="$CFLAGS -Werror"
fi