aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-03 16:53:21 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-04 07:42:31 +0700
commit0dea8b8d9fb48df577fb6f28846e498d3c0bb9bf (patch)
tree7273d5f5e0826dc514f5814ef56fa3834449f39a
parent051081585e40a3145028cda8e2a16c010a33ebe9 (diff)
downloadgdb-0dea8b8d9fb48df577fb6f28846e498d3c0bb9bf.zip
gdb-0dea8b8d9fb48df577fb6f28846e498d3c0bb9bf.tar.gz
gdb-0dea8b8d9fb48df577fb6f28846e498d3c0bb9bf.tar.bz2
sim: drop -lm from SIM_EXTRA_LIBS
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.
-rw-r--r--sim/aarch64/Makefile.in2
-rw-r--r--sim/arm/Makefile.in1
-rw-r--r--sim/bfin/Makefile.in2
-rw-r--r--sim/erc32/Makefile.in2
-rw-r--r--sim/moxie/Makefile.in1
-rw-r--r--sim/or1k/Makefile.in2
-rw-r--r--sim/sh/Makefile.in1
7 files changed, 2 insertions, 9 deletions
diff --git a/sim/aarch64/Makefile.in b/sim/aarch64/Makefile.in
index 95de0f9..72a3705 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 d7d50d5..f1f58ab 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 f4f30c4..62f7b71 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 013b604..7dd5102 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 1c01ec6..850b8c8 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 e845637..20952cb 100644
--- a/sim/or1k/Makefile.in
+++ b/sim/or1k/Makefile.in
@@ -49,8 +49,6 @@ SIM_EXTRA_DEPS = \
cpuall.h \
decode.h
-SIM_EXTRA_LIBS = -lm
-
## COMMON_POST_CONFIG_FRAG
arch = or1k
diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in
index fc794f3..4bba705 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