mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
make: set CGO_ENABLED=0
Make loop and loopd binaries static, more portable.
This commit is contained in:
parent
6b7158201a
commit
b0051382cf
2 changed files with 5 additions and 4 deletions
4
Makefile
4
Makefile
|
|
@ -11,8 +11,8 @@ GOIMPORTS_PKG := github.com/rinchsan/gosimports/cmd/gosimports
|
|||
GO_BIN := ${GOPATH}/bin
|
||||
GOIMPORTS_BIN := $(GO_BIN)/gosimports
|
||||
|
||||
GOBUILD := GO111MODULE=on go build -v
|
||||
GOINSTALL := GO111MODULE=on go install -v
|
||||
GOBUILD := CGO_ENABLED=0 GO111MODULE=on go build -v
|
||||
GOINSTALL := CGO_ENABLED=0 GO111MODULE=on go install -v
|
||||
GOMOD := GO111MODULE=on go mod
|
||||
|
||||
COMMIT := $(shell git describe --abbrev=40 --dirty --tags)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue