From 98c2658e3c4043b9eb9b43101ade35e672fff0c9 Mon Sep 17 00:00:00 2001 From: ge Date: Thu, 28 Nov 2024 21:20:43 +0300 Subject: [PATCH] build: add -skip-unused, descrease compile time and executable size --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fa5ba16..4898264 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ dev: v -o pt src/ prod: - v -prod -cc gcc -cflags '-static -s' -o pt src/ \ + v -prod -skip-unused -cc gcc -cflags '-static -s' -o pt src/ \ -d pt_version=$$(git describe --tags) \ -d pt_piddir=pt \ -d pt_max_recursion_depth=10 \