Add -lm in Makefile

This commit is contained in:
Night Kaly 2024-10-12 22:01:35 +01:00
parent ceee0b78f0
commit 044de2da78
Signed by: night0721
GPG key ID: 957D67B8DB7A119B

View file

@ -9,7 +9,7 @@ PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin
# Flags
CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -flto -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -flto -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lm
SRC = $(TARGET).c