public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: build: drop duplicate $(LIBS) usage
@ 2022-11-04 0:43 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-11-04 0:43 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=49ea4303bf1248e422b2858a22e085e25ac34a9d
commit 49ea4303bf1248e422b2858a22e085e25ac34a9d
Author: Mike Frysinger <vapier@gentoo.org>
Date: Thu Nov 3 13:43:29 2022 +0545
sim: build: drop duplicate $(LIBS) usage
COMMON_LIBS is set to $(LIBS), and CONFIG_LIBS is set to that plus
@LIBS@. This leds to the values being used twice. Inline the
CONFIG_LIBS variable without @LIBS@ since it's used only once.
Diff:
---
sim/common/Make-common.in | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index c58eb0d3ba9..a79a375a90c 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -221,10 +221,9 @@ SIM_HW_DEVICES = cfi core pal glue $(SIM_EXTRA_HW_DEVICES)
LIBIBERTY_LIB = ../../libiberty/libiberty.a
BFD_LIB = ../../bfd/libbfd.la
OPCODES_LIB = ../../opcodes/libopcodes.la
-CONFIG_LIBS = $(COMMON_LIBS) @LIBS@
LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBIBERTY_LIB)
EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBIBERTY_LIB) \
- $(CONFIG_LIBS) $(SIM_EXTRA_LIBS) $(LIBGNU) $(LIBGNU_EXTRA_LIBS)
+ $(COMMON_LIBS) $(SIM_EXTRA_LIBS) $(LIBGNU) $(LIBGNU_EXTRA_LIBS)
COMMON_OBJS_NAMES = \
callback.o \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-04 0:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04 0:43 [binutils-gdb] sim: build: drop duplicate $(LIBS) usage Michael Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).