1
0

Let's add -flto to do a link time optimisation. It saves a few bytes.

This commit is contained in:
Alexander Andreev 2024-03-25 01:16:41 +04:00
parent c72eca2ad8
commit 5fbbea3686
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -13,6 +13,7 @@ SRCs := $(wildcard $(SRC_DIR)/*.c)
OBJs := $(SRCs:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
CFLAGS = --std=c99 -D_POSIX_C_SOURCE=200112L -O3 -Wall -Werror -Wextra -pedantic
CFLAGS += -flto
LDFLAGS += -lportaudio -lopus -lsodium
$(TARGET): $(OBJs)