From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 74D6D385840D; Fri, 4 Nov 2022 00:43:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74D6D385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667522633; bh=IFrIljK1lik57Aqt3JfFV4QsIbJ/7wYSzb3MgGjEIaY=; h=From:To:Subject:Date:From; b=W3x89f+7EbbCDmRIb4gTngApMV7T/mCsNe3qIA2jwjEm4T7iQzinDd8Hkqsl6l1Ty 3HTh7gQ19q9fmagCM5OXSiyZMWHcZ0pUzy4KbhH9AtphXTDtO1jD4rTr2GAnW45BGA ifeXVD+HYXcbEJxZe4aXQAASBynweIbhbBnrwGK4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: build: drop duplicate $(LIBS) usage X-Act-Checkin: binutils-gdb X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 89cf99a910ccfd95e478be81adc7493db138dfef X-Git-Newrev: 49ea4303bf1248e422b2858a22e085e25ac34a9d Message-Id: <20221104004353.74D6D385840D@sourceware.org> Date: Fri, 4 Nov 2022 00:43:53 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D49ea4303bf12= 48e422b2858a22e085e25ac34a9d commit 49ea4303bf1248e422b2858a22e085e25ac34a9d Author: Mike Frysinger Date: Thu Nov 3 13:43:29 2022 +0545 sim: build: drop duplicate $(LIBS) usage =20 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 =3D cfi core pal glue $(SIM_EXTRA_HW_DE= VICES) LIBIBERTY_LIB =3D ../../libiberty/libiberty.a BFD_LIB =3D ../../bfd/libbfd.la OPCODES_LIB =3D ../../opcodes/libopcodes.la -CONFIG_LIBS =3D $(COMMON_LIBS) @LIBS@ LIBDEPS =3D $(BFD_LIB) $(OPCODES_LIB) $(LIBIBERTY_LIB) EXTRA_LIBS =3D $(BFD_LIB) $(OPCODES_LIB) $(LIBIBERTY_LIB) \ - $(CONFIG_LIBS) $(SIM_EXTRA_LIBS) $(LIBGNU) $(LIBGNU_EXTRA_LIBS) + $(COMMON_LIBS) $(SIM_EXTRA_LIBS) $(LIBGNU) $(LIBGNU_EXTRA_LIBS) =20 COMMON_OBJS_NAMES =3D \ callback.o \