From patchwork Thu Nov 3 10:04:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 59822 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F2288385829B for ; Thu, 3 Nov 2022 11:19:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2288385829B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667474351; bh=ipBscLX39LStztd+KHxLuaX/OUy4Ou9VRv+GDm/EUlY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=WsBkVgqze7qtPWyccrQFbFBM2K+h4R8YGVjchnQLYO1hTN0cRL8E3KOg+p7rLPLNU pNGO2uS/sBhHcfKWJACvKi7p8/7zF+SlAyIXaZwiM9YKjaORfdez2Ez+bjUyT4+TKx D5Xnr2Gwg1I2gTSb8Ti07yPsRpi1OgSQvoEeAvLs= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 710EC3858426 for ; Thu, 3 Nov 2022 11:18:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 710EC3858426 Received: by smtp.gentoo.org (Postfix, from userid 559) id EF2F03411D2; Thu, 3 Nov 2022 11:18:33 +0000 (UTC) To: gdb-patches@sourceware.org Subject: [PATCH 5/5] sim: drop -lm from SIM_EXTRA_LIBS Date: Thu, 3 Nov 2022 17:04:03 +0700 Message-Id: <20221103100403.26278-5-vapier@gentoo.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221103100403.26278-1-vapier@gentoo.org> References: <20221103100403.26278-1-vapier@gentoo.org> MIME-Version: 1.0 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Mike Frysinger via Gdb-patches From: Mike Frysinger Reply-To: Mike Frysinger Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" We have configure tests for this in the top-level configure script to link this when necessary, so we don't need to explicitly list it for specific ports. --- sim/aarch64/Makefile.in | 2 -- sim/arm/Makefile.in | 1 - sim/bfin/Makefile.in | 2 +- sim/erc32/Makefile.in | 2 +- sim/moxie/Makefile.in | 1 - sim/or1k/Makefile.in | 2 -- sim/sh/Makefile.in | 1 - 7 files changed, 2 insertions(+), 9 deletions(-) diff --git a/sim/aarch64/Makefile.in b/sim/aarch64/Makefile.in index 95de0f96cc6e..72a37053b049 100644 --- a/sim/aarch64/Makefile.in +++ b/sim/aarch64/Makefile.in @@ -21,8 +21,6 @@ ## COMMON_PRE_CONFIG_FRAG -SIM_EXTRA_LIBS = -lm - SIM_OBJS = \ $(SIM_NEW_COMMON_OBJS) \ interp.o \ diff --git a/sim/arm/Makefile.in b/sim/arm/Makefile.in index d7d50d54289f..f1f58ab27848 100644 --- a/sim/arm/Makefile.in +++ b/sim/arm/Makefile.in @@ -18,7 +18,6 @@ ## COMMON_PRE_CONFIG_FRAG SIM_EXTRA_CFLAGS = -DMODET -SIM_EXTRA_LIBS = -lm SIM_OBJS = \ wrapper.o \ diff --git a/sim/bfin/Makefile.in b/sim/bfin/Makefile.in index f4f30c48bcb5..62f7b71ded1a 100644 --- a/sim/bfin/Makefile.in +++ b/sim/bfin/Makefile.in @@ -60,7 +60,7 @@ SIM_EXTRA_HW_DEVICES = \ eth_phy SIM_EXTRA_CFLAGS = $(SDL_CFLAGS) -SIM_EXTRA_LIBS = $(SDL_LIBS) -lm +SIM_EXTRA_LIBS = $(SDL_LIBS) ## COMMON_POST_CONFIG_FRAG diff --git a/sim/erc32/Makefile.in b/sim/erc32/Makefile.in index de05be97262d..1f20adf8c347 100644 --- a/sim/erc32/Makefile.in +++ b/sim/erc32/Makefile.in @@ -23,7 +23,7 @@ READLINE_SRC = $(srcroot)/readline/readline SIM_OBJS = exec.o erc32.o func.o help.o float.o interf.o SIM_RUN_OBJS = sis.o SIM_EXTRA_CFLAGS = $(READLINE_CFLAGS) -SIM_EXTRA_LIBS = $(READLINE_LIB) $(TERMCAP_LIB) -lm +SIM_EXTRA_LIBS = $(READLINE_LIB) $(TERMCAP_LIB) SIM_EXTRA_INSTALL = install-sis SIM_EXTRA_CLEAN = clean-sis diff --git a/sim/moxie/Makefile.in b/sim/moxie/Makefile.in index 1c01ec60516e..850b8c81ec05 100644 --- a/sim/moxie/Makefile.in +++ b/sim/moxie/Makefile.in @@ -22,7 +22,6 @@ SIM_OBJS = \ interp.o \ sim-resume.o -SIM_EXTRA_LIBS = -lm SIM_EXTRA_CFLAGS = -DDTB="\"$(dtbdir)/moxie-gdb.dtb\"" ## COMMON_POST_CONFIG_FRAG diff --git a/sim/or1k/Makefile.in b/sim/or1k/Makefile.in index f288b02c8e8b..54dc37135b05 100644 --- a/sim/or1k/Makefile.in +++ b/sim/or1k/Makefile.in @@ -51,8 +51,6 @@ SIM_EXTRA_DEPS = \ SIM_EXTRA_CFLAGS = -SIM_EXTRA_LIBS = -lm - ## COMMON_POST_CONFIG_FRAG arch = or1k diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in index fc794f30687f..4bba7059ff81 100644 --- a/sim/sh/Makefile.in +++ b/sim/sh/Makefile.in @@ -21,7 +21,6 @@ SIM_OBJS = \ interp.o \ $(SIM_NEW_COMMON_OBJS) \ table.o -SIM_EXTRA_LIBS = -lm SIM_EXTRA_DEPS = table.c code.c ppi.c ## COMMON_POST_CONFIG_FRAG