From a568484fe2226425d50487ee6ae418fd7ad2099f Mon Sep 17 00:00:00 2001 From: Agis Anastasopoulos Date: Thu, 27 Sep 2018 16:28:59 +0300 Subject: [PATCH] Explicitly enable cgo in makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0692459..791eb3c 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ dep: dep ensure -v build: fmt - go build -v -ldflags '-X main.VersionSuffix=$(shell git rev-parse HEAD)' + CGO_ENABLED=1 go build -v -ldflags '-X main.VersionSuffix=$(shell git rev-parse HEAD)' testunit-local: go test -race