From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id A4E7C3858D1E for ; Tue, 3 Jan 2023 03:21:56 +0000 (GMT) Received: by smtp.gentoo.org (Postfix, from userid 559) id 31A4D340B9B; Tue, 3 Jan 2023 03:21:56 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: common: drop libcommon.a linkage Date: Mon, 2 Jan 2023 22:21:52 -0500 Message-Id: <20230103032152.24238-1-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: All of these objects should be in libsim.a already, so don't link to it too. In practice it never gets used, but no point in listing it. --- sim/Makefile.in | 7 ++----- sim/common/local.mk | 4 +--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sim/common/local.mk b/sim/common/local.mk index 22917e0f8a64..dd6ed5fec83c 100644 --- a/sim/common/local.mk +++ b/sim/common/local.mk @@ -30,8 +30,7 @@ SIM_ALL_RECURSIVE_DEPS += \ ## NB: libcommon.a isn't used directly by ports. We need a target for common ## objects to be a part of, and ports use the individual objects directly. -SIM_COMMON_LIB = %D%/libcommon.a -noinst_LIBRARIES += $(SIM_COMMON_LIB) +noinst_LIBRARIES += %D%/libcommon.a %C%_libcommon_a_SOURCES = \ %D%/callback.c \ %D%/portability.c \ @@ -136,7 +135,6 @@ BFD_LIB = ../bfd/libbfd.la OPCODES_LIB = ../opcodes/libopcodes.la SIM_COMMON_LIBS = \ - $(SIM_COMMON_LIB) \ $(BFD_LIB) \ $(OPCODES_LIB) \ $(LIBIBERTY_LIB) \ -- 2.39.0