From d32b17035fcc543151eceb7baf7dbbc1942e05c8 Mon Sep 17 00:00:00 2001 From: Arjun Basandrai Date: Sat, 20 Jan 2024 11:42:47 +0530 Subject: [PATCH] fix: linked math library for linux build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cb6f950..3e48266 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ __windows_compile: $(CC) -Ofast -o shuffle_$(v).exe $(C) $(SRCS) __linux_compile: - $(CC) -Ofast -arch x86_64 -o shuffle_$(v) $(C) $(SRCS) + $(CC) -Ofast -lm -arch x86_64 -o shuffle_$(v) $(C) $(SRCS) __apple_arm_compile: $(CC) -Ofast -arch arm64 -o shuffle_$(v) $(C) $(SRCS)