From 64f8ecdbb34ade60cb039dd7a1b576be20882dc6 Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Mon, 22 Jan 2024 11:25:54 +0100 Subject: [PATCH] fix: sqrt linker error, now using -lm --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index 9ac741a..64c7adb 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,7 +3,7 @@ OBJ = $(SRC:.c=.o) NAME = lib_use CC = gcc CFLAGS = -Wall -Wextra -Wpedantic -Iinclude -s -Os -fno-ident -fno-asynchronous-unwind-tables -CLIBS = ../build/libpasm.a +CLIBS = ../build/libpasm.a -lm all: $(NAME)