build: add -skip-unused, descrease compile time and executable size

This commit is contained in:
ge 2024-11-28 21:20:43 +03:00
parent c32d2ef655
commit 98c2658e3c

View File

@ -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 \