mirror of
https://github.com/mirror/wget.git
synced 2024-12-26 21:00:26 +08:00
* configure.ac: Add -Wno-undef -Wno-float-equal to gcc's WARN_CFLAGS
This commit is contained in:
parent
8bc1d1447b
commit
5debe0a96f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user