diff --git a/Makefile b/Makefile index e4998ae69..eed35762e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ LDFLAGS := $(shell go run buildscripts/gen-ldflags.go) PWD := $(shell pwd) GOPATH := $(shell go env GOPATH) -BUILD_LDFLAGS := '$(LDFLAGS)' +BUILD_LDFLAGS := '$(LDFLAGS) -s -w' TAG := latest HOST ?= $(shell uname)