sim: drop -lm from SIM_EXTRA_LIBS
authorMike Frysinger <vapier@gentoo.org>
Thu, 3 Nov 2022 09:53:21 +0000 (16:53 +0700)
committerMike Frysinger <vapier@gentoo.org>
Fri, 4 Nov 2022 00:42:31 +0000 (07:42 +0700)
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
sim/arm/Makefile.in
sim/bfin/Makefile.in
sim/erc32/Makefile.in
sim/moxie/Makefile.in
sim/or1k/Makefile.in
sim/sh/Makefile.in

index 95de0f96cc6e57abe7728d1ecff7ffde697f4df2..72a37053b049365763ced4e2c74719543246fcba 100644 (file)
@@ -21,8 +21,6 @@
 
 ## COMMON_PRE_CONFIG_FRAG
 
-SIM_EXTRA_LIBS = -lm
-
 SIM_OBJS = \
        $(SIM_NEW_COMMON_OBJS) \
        interp.o \
index d7d50d54289f47f9b77be09c3775582173809cae..f1f58ab27848434498009fc583c6b5ba23bb36d7 100644 (file)
@@ -18,7 +18,6 @@
 ## COMMON_PRE_CONFIG_FRAG
 
 SIM_EXTRA_CFLAGS = -DMODET
-SIM_EXTRA_LIBS = -lm
 
 SIM_OBJS = \
        wrapper.o \
index f4f30c48bcb516b6166afad6d26fe2a57ae4dccb..62f7b71ded1ab6f0a216f6b12881463878a9de13 100644 (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
 
index 013b604be49ada95fd1878eb40bbb0e7f70e5573..7dd5102bccbf7b1bb0bbc31422427fc83b29cfed 100644 (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
 
index 1c01ec60516e33c7b7d99adb6141f78a2808dafd..850b8c81ec05bd6120c3ddcc65a867637b4067f8 100644 (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
index e8456371419caa659de968190d90d0517e2da7c7..20952cb2f14907453bb4cacf41ab78d6d867f911 100644 (file)
@@ -49,8 +49,6 @@ SIM_EXTRA_DEPS = \
        cpuall.h \
        decode.h
 
-SIM_EXTRA_LIBS = -lm
-
 ## COMMON_POST_CONFIG_FRAG
 
 arch = or1k
index fc794f30687fc65fc8f45db9efd37d9f5fe5edfc..4bba7059ff81df9e1833c0161fdce10c9aaa3fa5 100644 (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