fix(make): default file should be static linked [CI SKIP]
Follow the go way
This commit is contained in:
parent
07260fb593
commit
216431f591
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ CGO_ENABLED ?= 0
|
|||
GO ?= go
|
||||
TEST ?= $(GO) test -race -cover
|
||||
COVER ?= $(GO) tool cover
|
||||
GOFLAGS ?= -buildmode=pie -trimpath -ldflags="-s -w -X=main.version=$(HASH) -linkmode=external"
|
||||
GOFLAGS ?= -trimpath -ldflags="-s -w -X=main.version=$(HASH)"
|
||||
DESTDIR :=
|
||||
|
||||
PREFIX ?= /usr/local
|
||||
|
|
Loading…
Reference in a new issue