From 75fa37880c8f2cc29c905d972c7deb0ab803ae2c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 14 Feb 2026 21:12:21 +0000 Subject: [PATCH] build(mdig): enable LTO for smaller and faster binary Co-authored-by: vemneyy <78843201+vemneyy@users.noreply.github.com> --- mdig/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdig/Makefile b/mdig/Makefile index e4a011bc..4e6ea66b 100644 --- a/mdig/Makefile +++ b/mdig/Makefile @@ -1,6 +1,6 @@ CC ?= cc OPTIMIZE ?= -Os -CFLAGS += -std=gnu99 $(OPTIMIZE) +CFLAGS += -std=gnu99 $(OPTIMIZE) -flto=auto CFLAGS_BSD = -Wno-address-of-packed-member CFLAGS_WIN = -static LIBS = -lpthread