From cbf4b7280b286eb7c2b8c7ef2892013c78ddbd3f Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 27 Jan 2026 15:24:10 +0000 Subject: [PATCH] chore: enable automatic link-time optimization for all build targets --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f15b677..54dd2ed 100755 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -Wall -Wextra -Werror -O3 -march=native -flto -fomit-frame-pointer -D_GNU_SOURCE +CFLAGS = -Wall -Wextra -Werror -O3 -march=native -flto=auto -fomit-frame-pointer -D_GNU_SOURCE CFLAGS_DEBUG = -Wall -Wextra -Werror -O0 -g -D_GNU_SOURCE CFLAGS_COV = -Wall -Wextra -Werror -O0 -g -D_GNU_SOURCE --coverage -fprofile-arcs -ftest-coverage LDFLAGS = -flto -lssl -lcrypto -lsqlite3 -lm -lpthread