--- libiberty/configure.orig 2017-09-12 12:10:11 UTC +++ libiberty/configure @@ -4398,8 +4398,7 @@ ac_libiberty_warn_cflags= save_CFLAGS="$CFLAGS" for real_option in -W -Wall -Wwrite-strings -Wc++-compat \ - -Wstrict-prototypes \ - -Wshadow=local; do + -Wstrict-prototypes ; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in