From 975f45b7e103929f3ed05d7a4dc71bb5fc320810 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 8 Jan 2020 17:43:29 -0700 Subject: [PATCH] Don't link gdb twice against libiberty I noticed that gdb includes libiberty twice in its link line. I don't think there's a need for this, so this patch removes one of the references. gdb/ChangeLog 2020-01-14 Tom Tromey * Makefile.in (CLIBS): Remove second use of $(LIBIBERTY). Change-Id: I43bb7100660867081f937c67ea70ff751c62bbfb --- gdb/ChangeLog | 4 ++++ gdb/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7a691092ce..213f2d0395 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-01-14 Tom Tromey + + * Makefile.in (CLIBS): Remove second use of $(LIBIBERTY). + 2020-01-14 Tom Tromey * nat/linux-btrace.c: Don't include . diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 5f63c617d4..45d1586e85 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -615,7 +615,7 @@ CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(LIBCTF) $(ZLIB) \ $(XM_CLIBS) $(GDBTKLIBS) \ @LIBS@ @GUILE_LIBS@ @PYTHON_LIBS@ \ $(LIBEXPAT) $(LIBLZMA) $(LIBBABELTRACE) $(LIBIPT) \ - $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) $(LIBICONV) \ + $(WIN32LIBS) $(LIBGNU) $(LIBICONV) \ $(LIBMPFR) $(SRCHIGH_LIBS) $(LIBXXHASH) $(PTHREAD_LIBS) CDEPS = $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) $(LIBCTF) \ $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU) \ -- 2.34.1