diff --git a/Makefile b/Makefile index c05eb0f..d0dd992 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ GOBINDIR=$(GOPATH)/bin # commands GOCMD=go GOINSTALL=$(GOCMD) install -GOBUILD=$(GOCMD) build +GOBUILD=$(GOCMD) build -ldflags '-linkmode external -w -extldflags "-static"' GOCLEAN=$(GOCMD) clean GOTEST=$(GOCMD) test GOGET=$(GOCMD) get @@ -77,4 +77,4 @@ lintdeps: .PHONY: modtidy modtidy: - $(GOMOD) tidy \ No newline at end of file + $(GOMOD) tidy