public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] sim: build: drop duplicate $(LIBS) usage
Date: Fri,  4 Nov 2022 00:43:53 +0000 (GMT)	[thread overview]
Message-ID: <20221104004353.74D6D385840D@sourceware.org> (raw)

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 \

                 reply	other threads:[~2022-11-04  0:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221104004353.74D6D385840D@sourceware.org \
    --to=vapier@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).