aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-01-08 17:43:29 -0700
committerTom Tromey <tom@tromey.com>2020-01-14 16:25:04 -0700
commit975f45b7e103929f3ed05d7a4dc71bb5fc320810 (patch)
tree2f5f70caa4704ed21090a4750cf22ee4960b20b2
parent0454ef42e74e051dda95004f3c99cbe89bce3a8c (diff)
downloadgdb-975f45b7e103929f3ed05d7a4dc71bb5fc320810.zip
gdb-975f45b7e103929f3ed05d7a4dc71bb5fc320810.tar.gz
gdb-975f45b7e103929f3ed05d7a4dc71bb5fc320810.tar.bz2
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 <tom@tromey.com> * Makefile.in (CLIBS): Remove second use of $(LIBIBERTY). Change-Id: I43bb7100660867081f937c67ea70ff751c62bbfb
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7a69109..213f2d0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2020-01-14 Tom Tromey <tom@tromey.com>
+ * Makefile.in (CLIBS): Remove second use of $(LIBIBERTY).
+
+2020-01-14 Tom Tromey <tom@tromey.com>
+
* nat/linux-btrace.c: Don't include <config.h>.
* nat/linux-ptrace.c: Don't include <config.h>.
* nat/x86-linux-dregs.c: Don't include <config.h>.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 5f63c61..45d1586 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) \