From 2644501de3b612b2e610dbc8e3db76b17d151be8 Mon Sep 17 00:00:00 2001 From: David Gidwani Date: Tue, 17 Jan 2017 09:19:41 -0500 Subject: [PATCH] disable CGO builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7693620..a030ea4 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ GOX_LDFLAGS="-X main.version=$(TAG_NAME) -X main.buildTime=$(shell date -u +%Y-% default: build build: test - gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}" -ldflags $(GOX_LDFLAGS) + CGO_ENABLED=0 gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}" -ldflags $(GOX_LDFLAGS) install: go install -ldflags $(GOX_LDFLAGS)