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.
## COMMON_PRE_CONFIG_FRAG
-SIM_EXTRA_LIBS = -lm
-
SIM_OBJS = \
$(SIM_NEW_COMMON_OBJS) \
interp.o \
## COMMON_PRE_CONFIG_FRAG
SIM_EXTRA_CFLAGS = -DMODET
-SIM_EXTRA_LIBS = -lm
SIM_OBJS = \
wrapper.o \
eth_phy
SIM_EXTRA_CFLAGS = $(SDL_CFLAGS)
-SIM_EXTRA_LIBS = $(SDL_LIBS) -lm
+SIM_EXTRA_LIBS = $(SDL_LIBS)
## COMMON_POST_CONFIG_FRAG
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
interp.o \
sim-resume.o
-SIM_EXTRA_LIBS = -lm
SIM_EXTRA_CFLAGS = -DDTB="\"$(dtbdir)/moxie-gdb.dtb\""
## COMMON_POST_CONFIG_FRAG
cpuall.h \
decode.h
-SIM_EXTRA_LIBS = -lm
-
## COMMON_POST_CONFIG_FRAG
arch = or1k
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