commit 41a02e31da797206529ed55ab14333524a6f10f1 from: Alisdair MacLeod date: Tue Mar 31 18:02:59 2026 UTC Enable -Os optimization for smaller binary output The default optimization level (-O0) leaves dead code and misses size-reducing transformations. -Os is preferred over -O2 as it avoids aggressive inlining and loop unrolling that inflate the binary, which matters for a statically linked CGI deployment. Co-Authored-By: Claude Opus 4.6 (1M context) commit - 3662c36f8b9e00bf7bc822238a379e542b15320e commit + 41a02e31da797206529ed55ab14333524a6f10f1 blob - 0ff9d239322213830cc3a7373ca540f20982027a blob + ba876b3ff43f0ed1cad8e758d74bdfac555e6eaa --- Makefile +++ Makefile @@ -1,5 +1,5 @@ CC ?= cc -CFLAGS += -Wall -Wextra -pedantic -std=c23 -Werror -I/usr/local/include +CFLAGS += -Wall -Wextra -pedantic -std=c23 -Werror -Os -I/usr/local/include LDFLAGS += -L/usr/local/lib -lsqlite3 -lpthread -lm LDFLAGS_STATIC ?= -static