aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-07-31 07:49:55 -0600
committerTom Tromey <tom@tromey.com>2018-09-25 07:54:59 -0600
commit49b036f1e0616b57294d85b06d3eb001b34f9958 (patch)
treeb21df52fb281aabb3d1f1e579a60d7c451e6d15d /gdb/gdbserver/configure
parente95bc8bb1dd5c7f55b3abf0fb1ee73c0c6b5596e (diff)
downloadgdb-49b036f1e0616b57294d85b06d3eb001b34f9958.zip
gdb-49b036f1e0616b57294d85b06d3eb001b34f9958.tar.gz
gdb-49b036f1e0616b57294d85b06d3eb001b34f9958.tar.bz2
Remove dead code from gdbserver's configure
gdbserver's configure removes -Wmissing-prototypes from the warning flags. However, this flag is only useful for C, so this deletion is no longer needed. gdb/gdbserver/ChangeLog 2018-09-25 Tom Tromey <tom@tromey.com> * configure: Rebuild. * configure.ac (WARN_CFLAGS): Don't remove -Wmissing-prototypes.
Diffstat (limited to 'gdb/gdbserver/configure')
-rwxr-xr-xgdb/gdbserver/configure5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
index f5cbbae..4384665 100755
--- a/gdb/gdbserver/configure
+++ b/gdb/gdbserver/configure
@@ -7391,11 +7391,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-case " $WARN_CFLAGS " in
-*" -Wmissing-prototypes "*)
- WARN_CFLAGS="$WARN_CFLAGS -Wno-missing-prototypes"
- ;;
-esac
old_LIBS="$LIBS"
LIBS="$LIBS -ldl"