fix(make): default file should be static linked [CI SKIP]

Follow the go way
This commit is contained in:
Sam Therapy 2022-11-17 20:24:09 +01:00
parent 07260fb593
commit 216431f591
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -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