summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-06-16 11:06:19 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-06-16 11:06:19 -0400
commitd3f4eae69ff201bc0982ae01db8d4eb44e7e979c (patch)
tree8c02c06aabc6205bd88a2eb85e1be50efb86b09d /Makefile
parent1dcb23779372c670cb85d9aad57105185d8d45c7 (diff)
Optimize go buildHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7a0e4c0..cb5b167 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ MANPREFIX=$(PREFIX)/share/man
sixkcd: $(SRC)
go mod download
go mod verify
- go build -ldflags "-X main.version=$(VERSION)" -o $(CMD) ./$(CMD).go
+ go build -ldflags "-s -w -X main.version=$(VERSION)" -o $(CMD) ./$(CMD).go
install: sixkcd
sudo mkdir -p $(PREFIX)/bin