From 49ea4303bf1248e422b2858a22e085e25ac34a9d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 3 Nov 2022 13:43:29 +0545 Subject: [PATCH] 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. --- 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 \ -- 2.30.2