diff --git a/Makefile b/Makefile index 9c5127ef7..f1aa98b6e 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)