static builds
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
c677518065
commit
ab4390d5aa
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
PACKAGES=$(shell go list ./... | grep -v /vendor/)
|
PACKAGES=$(shell go list ./... | grep -v /vendor/)
|
||||||
REVISION=$(shell git rev-parse HEAD)
|
REVISION=$(shell git rev-parse HEAD)
|
||||||
|
CGO_ENABLED=0
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
|
@ -32,4 +33,4 @@ protos:
|
||||||
@protobuild --quiet ${PACKAGES}
|
@protobuild --quiet ${PACKAGES}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@go build -v .
|
@go build -v -installsuffix cgo
|
||||||
|
|
Loading…
Add table
Reference in a new issue