commit 218ac59c1c84d70e9aa1cb497dd95d664211cc04 parent ef1479fcc2f87dc3f5526561e7d7c6125bae14fe Author: Vincent Forest <vincent.forest@meso-star.com> Date: Thu, 27 Jul 2023 17:04:06 +0200 Do not link to library m not required Diffstat:
| M | Makefile | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -40,7 +40,7 @@ build_library: .config $(DEP) $(DEP) $(OBJ): config.mk $(LIBNAME_SHARED): $(OBJ) - $(CC) $(CFLAGS) $(RSYS_CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(SOFLAGS) $(RSYS_LIBS) -lm + $(CC) $(CFLAGS) $(RSYS_CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(SOFLAGS) $(RSYS_LIBS) $(LIBNAME_STATIC): $(OBJ) $(AR) -rc $@ $?