From ae5bf0b22dab6d1474f7c013992a93ef5caa5ce6 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 27 May 2021 16:13:54 +0200 Subject: shrink go binaries --- skate/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skate') diff --git a/skate/Makefile b/skate/Makefile index 2fabc6f..a939401 100644 --- a/skate/Makefile +++ b/skate/Makefile @@ -15,7 +15,7 @@ all: generate $(TARGETS) go mod tidy %: cmd/%/main.go - go build -o $@ $< + go build -ldflags="-s -w" -o $@ $< .PHONY: clean clean: -- cgit v1.2.3