From ab4390d5aac86c58a7efca079075e845062c3e61 Mon Sep 17 00:00:00 2001 From: Evan Hazlett Date: Thu, 3 Oct 2019 12:30:36 -0400 Subject: [PATCH] static builds Signed-off-by: Evan Hazlett --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 98e2b7f..166e1d1 100644 --- a/Makefile +++ b/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