Use PGO to compile output binary

This commit is contained in:
eleksir
2023-09-02 10:11:36 -07:00
parent a0a403b272
commit 9c793d4b6e

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env gmake -f #!/usr/bin/env gmake -f
CGO_ENABLED=0 CGO_ENABLED=0
BUILDOPTS=-ldflags="-s -w" -a -gcflags=all=-l -trimpath BUILDOPTS=-ldflags="-s -w" -a -gcflags=all=-l -trimpath -pgo=auto
all: clean build all: clean build