build: add -skip-unused, descrease compile time and executable size
This commit is contained in:
parent
c32d2ef655
commit
98c2658e3c
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ dev:
|
|||||||
v -o pt src/
|
v -o pt src/
|
||||||
|
|
||||||
prod:
|
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_version=$$(git describe --tags) \
|
||||||
-d pt_piddir=pt \
|
-d pt_piddir=pt \
|
||||||
-d pt_max_recursion_depth=10 \
|
-d pt_max_recursion_depth=10 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user