summaryrefslogtreecommitdiff
path: root/devel/gdb/files/patch-libiberty_configure
blob: fb52c901e7e7dc2a58c38f339b14f750b49f13b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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