From b9a0372fc7abc213f90cfc55ebbab2c56c8c667e Mon Sep 17 00:00:00 2001 From: Umputun Date: Sat, 10 Apr 2021 14:46:18 -0500 Subject: [PATCH] add missing -s -w to make build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 971a0b9..e8ba29a 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ race_test: cd app && go test -race -mod=vendor -timeout=60s -count 1 ./... build: info - - cd app && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X main.revision=$(REV)" -o ../dist/reproxy + - cd app && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X main.revision=$(REV) -s -w" -o ../dist/reproxy info: - @echo "revision $(REV)"