configure: disable -Wunused-const-variable

The option became too aggressive with GCC 6, generating nearly 500
warnings from static const variables defined in assorted headers

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
pull/278/head
James Almer 9 years ago
parent 03d83ba34b
commit c1a3683f26
  1. 1
      configure

1
configure vendored

@ -5780,6 +5780,7 @@ check_disable_warning -Wno-parentheses
check_disable_warning -Wno-switch
check_disable_warning -Wno-format-zero-length
check_disable_warning -Wno-pointer-sign
check_disable_warning -Wno-unused-const-variable
# add some linker flags
check_ldflags -Wl,--warn-common

Loading…
Cancel
Save