From 2045e6f1f11e2dc3bfb7630d63b32f2c18a6a235 Mon Sep 17 00:00:00 2001 From: Josh Bohde Date: Fri, 9 Aug 2019 12:40:35 -0500 Subject: [PATCH] Turn off CGO --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4fb13d2..da445fe 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ TARGETS := $(patsubst cmd/%,target/%,$(CMD_SOURCES)) target/%: cmd/% *.go **/*.go mkdir -p $@ - gox -os="linux darwin windows" -arch="amd64" -output="target/$*/$*_{{.OS}}_{{.Arch}}" -ldflags "$(LDFLAGS)" -verbose $(GOPACKAGE)/$< + CGO_ENABLED=0 gox -os="linux darwin windows" -arch="amd64" -output="target/$*/$*_{{.OS}}_{{.Arch}}" -ldflags "$(LDFLAGS)" -verbose $(GOPACKAGE)/$< dist: $(TARGETS)