From: Mike Frysinger Date: Thu, 3 Nov 2022 07:58:29 +0000 (+0545) Subject: sim: build: drop duplicate $(LIBS) usage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49ea4303bf1248e422b2858a22e085e25ac34a9d;p=binutils-gdb.git 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 --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 \