* configure.ac: Add -Wno-undef -Wno-float-equal to gcc's WARN_CFLAGS

This commit is contained in:
Tim Rühsen 2020-02-12 16:09:57 +01:00
parent 8bc1d1447b
commit 5debe0a96f

View File

@ -410,6 +410,8 @@ if test -n "$WARN_CFLAGS"; then
# remove unwanted warn flags
wget_WORD_REMOVE([WARN_CFLAGS], [$WARN_CFLAGS], [$nw])
WARN_CFLAGS="$WARN_CFLAGS -Wno-undef -Wno-float-equal"
# add more flags as you like
if test $GCC_VERSION -ge 5; then
WARN_CFLAGS="$WARN_CFLAGS -fdiagnostics-color=always"