Skip to content
Snippets Groups Projects
Commit 9a62dbfc authored by Nick Thomas's avatar Nick Thomas
Browse files

Merge branch '2616-reduce-binary-size' into 'master'

Reduce binary size with removing debugging symbols

Closes #2616

See merge request !643
parents f84c2bc9 5504d691
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,8 @@ OUR_PACKAGES=$(shell go list ./... | grep -v '/vendor/') ...@@ -33,7 +33,8 @@ OUR_PACKAGES=$(shell go list ./... | grep -v '/vendor/')
GO_LDFLAGS ?= -X $(COMMON_PACKAGE_NAMESPACE).NAME=$(PACKAGE_NAME) -X $(COMMON_PACKAGE_NAMESPACE).VERSION=$(VERSION) \ GO_LDFLAGS ?= -X $(COMMON_PACKAGE_NAMESPACE).NAME=$(PACKAGE_NAME) -X $(COMMON_PACKAGE_NAMESPACE).VERSION=$(VERSION) \
-X $(COMMON_PACKAGE_NAMESPACE).REVISION=$(REVISION) -X $(COMMON_PACKAGE_NAMESPACE).BUILT=$(BUILT) \ -X $(COMMON_PACKAGE_NAMESPACE).REVISION=$(REVISION) -X $(COMMON_PACKAGE_NAMESPACE).BUILT=$(BUILT) \
-X $(COMMON_PACKAGE_NAMESPACE).BRANCH=$(BRANCH) -X $(COMMON_PACKAGE_NAMESPACE).BRANCH=$(BRANCH) \
-s -w
GO_FILES ?= $(shell find . -name '*.go') GO_FILES ?= $(shell find . -name '*.go')
export CGO_ENABLED := 0 export CGO_ENABLED := 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment