Don't link gdb twice against libiberty
authorTom Tromey <tom@tromey.com>
Thu, 9 Jan 2020 00:43:29 +0000 (17:43 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 14 Jan 2020 23:25:04 +0000 (16:25 -0700)
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

gdb/ChangeLog
gdb/Makefile.in

index 7a691092cedc39d030dabb5f971ea252637d4c0c..213f2d03956e10271c56a5336b7904796d957dcf 100644 (file)
@@ -1,3 +1,7 @@
+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>.
index 5f63c617d4fe747d6fd3b0cc4c69809cb2e8f78e..45d1586e85e92452136551041384ecf56fbc2adb 100644 (file)
@@ -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) \
This page took 0.029544 seconds and 4 git commands to generate.