mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 14:22:35 +08:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2018-09-25 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* configure: Rebuild.
|
||||||
|
* configure.ac (WARN_CFLAGS): Don't remove -Wmissing-prototypes.
|
||||||
|
|
||||||
2018-09-16 Simon Marchi <simon.marchi@polymtl.ca>
|
2018-09-16 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
* Makefile.in (gdbserver$(EXEEXT)): Sort OBS.
|
* Makefile.in (gdbserver$(EXEEXT)): Sort OBS.
|
||||||
|
5
gdb/gdbserver/configure
vendored
5
gdb/gdbserver/configure
vendored
@ -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
|
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"
|
old_LIBS="$LIBS"
|
||||||
LIBS="$LIBS -ldl"
|
LIBS="$LIBS -ldl"
|
||||||
|
@ -157,12 +157,6 @@ AC_SUBST(ustlibs)
|
|||||||
AC_SUBST(ustinc)
|
AC_SUBST(ustinc)
|
||||||
|
|
||||||
AM_GDB_WARNINGS
|
AM_GDB_WARNINGS
|
||||||
dnl The codebase isn't clean yet with this flag.
|
|
||||||
case " $WARN_CFLAGS " in
|
|
||||||
*" -Wmissing-prototypes "*)
|
|
||||||
WARN_CFLAGS="$WARN_CFLAGS -Wno-missing-prototypes"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl dladdr is glibc-specific. It is used by thread-db.c but only for
|
dnl dladdr is glibc-specific. It is used by thread-db.c but only for
|
||||||
dnl debugging messages. It lives in -ldl which is handled below so we don't
|
dnl debugging messages. It lives in -ldl which is handled below so we don't
|
||||||
|
Reference in New Issue
Block a user