ports/devel/gdb/files/patch-libiberty_configure
Luca Pizzamiglio da0888d129 devel/gdb: Update to gdb 8.0.1
Resolve tons of warnings.
Fix the type of literal string as char const *
Fix Makefile's variables order and adding the license file
Rework patches to make portlint happy

Reviewed by:	jhb
Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D12525
2017-09-29 14:49:58 +00:00

12 lines
424 B
Text

--- 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