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/)
|
||||
REVISION=$(shell git rev-parse HEAD)
|
||||
CGO_ENABLED=0
|
||||
|
||||
all: build
|
||||
|
||||
|
@ -32,4 +33,4 @@ protos:
|
|||
@protobuild --quiet ${PACKAGES}
|
||||
|
||||
build:
|
||||
@go build -v .
|
||||
@go build -v -installsuffix cgo
|
||||
|
|
Loading…
Reference in a new issue