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.
This commit is contained in:
Mike Frysinger 2022-11-03 16:53:21 +07:00
parent 051081585e
commit 0dea8b8d9f
7 changed files with 2 additions and 9 deletions

View File

@ -21,8 +21,6 @@
## COMMON_PRE_CONFIG_FRAG
SIM_EXTRA_LIBS = -lm
SIM_OBJS = \
$(SIM_NEW_COMMON_OBJS) \
interp.o \

View File

@ -18,7 +18,6 @@
## COMMON_PRE_CONFIG_FRAG
SIM_EXTRA_CFLAGS = -DMODET
SIM_EXTRA_LIBS = -lm
SIM_OBJS = \
wrapper.o \

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -49,8 +49,6 @@ SIM_EXTRA_DEPS = \
cpuall.h \
decode.h
SIM_EXTRA_LIBS = -lm
## COMMON_POST_CONFIG_FRAG
arch = or1k

View File

@ -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