From fbd484034c1bc0dd948d25c9fd2d12de3d45b638 Mon Sep 17 00:00:00 2001 From: Camilo Aguilar Date: Fri, 4 Dec 2015 12:20:34 -0500 Subject: [PATCH] Fixes #505 https://github.com/hashicorp/nomad/pull/421 removed the last piece of CGO dependant code. We we can stop building binaries with CGO enabled now. --- scripts/build.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 4a79e8351..36566413a 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -44,7 +44,6 @@ gox \ -arch="${XC_ARCH}" \ -osarch="!linux/arm !darwin/386" \ -ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \ - -cgo \ -output "pkg/{{.OS}}_{{.Arch}}/nomad" \ .