diff --git a/scripts/build.sh b/scripts/build.sh index ed0dc6ef4e..1c8c10d016 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -40,6 +40,7 @@ echo "==> Building..." $GOPATH/bin/gox \ -os="${XC_OS}" \ -arch="${XC_ARCH}" \ + -osarch="!darwin/arm" \ -ldflags "-X main.GitCommit='${GIT_COMMIT}${GIT_DIRTY}' -X main.GitDescribe='${GIT_DESCRIBE}'" \ -output "pkg/{{.OS}}_{{.Arch}}/consul" \ .