diff --git a/Makefile.release b/Makefile.release index 14363b7d3..bd095cb38 100644 --- a/Makefile.release +++ b/Makefile.release @@ -28,8 +28,8 @@ all: build release .PHONY: build build: @echo Releasing: $(VERSION) - mkdir -p build/Darwin && CGO_ENABLED=0 GOOS=darwin go build -o build/Darwin/$(NAME) - mkdir -p build/Linux && CGO_ENABLED=0 GOOS=linux go build -o build/Linux/$(NAME) + mkdir -p build/Darwin && CGO_ENABLED=0 GOOS=darwin go build -ldflags="-s -w" -o build/Darwin/$(NAME) + mkdir -p build/Linux && CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o build/Linux/$(NAME) .PHONY: release