From cd3e201d1da8ee7a478b3ce3fe03e4c470cc05e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BCce=20Tekol?= Date: Tue, 31 Oct 2023 17:51:25 +0300 Subject: [PATCH] trim paths in binaries (#421) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 71aaa40e..744d866c 100644 --- a/Makefile +++ b/Makefile @@ -17,10 +17,10 @@ RELEASE_FILE ?= release.txt TARGZ ?= true build: - CGO_ENABLED=0 go build -tags base,std,hazelcastinternal,hazelcastinternaltest -ldflags "$(LDFLAGS)" -o build/$(BINARY_NAME) ./cmd/clc + CGO_ENABLED=0 go build -tags base,std,hazelcastinternal,hazelcastinternaltest -ldflags "$(LDFLAGS)" -trimpath -o build/$(BINARY_NAME) ./cmd/clc build-dmt: - CGO_ENABLED=0 go build -tags base,migration,config,home,version,hazelcastinternal,hazelcastinternaltest -ldflags "$(LDFLAGS)" -o build/$(BINARY_NAME) ./cmd/clc + CGO_ENABLED=0 go build -tags base,migration,config,home,version,hazelcastinternal,hazelcastinternaltest -ldflags "$(LDFLAGS)" -trimpath -o build/$(BINARY_NAME) ./cmd/clc test: go test -tags base,std,hazelcastinternal,hazelcastinternaltest -p 1 $(TEST_FLAGS) ./...