Skip to content

Commit

Permalink
fix: linked math library for linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjunBasandrai committed Jan 20, 2024
1 parent 76e61af commit d32b170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d32b170

Please sign in to comment.