From a3b93e1779d2c8552b87f1ff0dd0598a03f5cb1e Mon Sep 17 00:00:00 2001 From: Stanley Shyiko Date: Wed, 5 Jul 2017 13:06:09 -0700 Subject: [PATCH] Enabled cross-compilation to armv7 & arm64 (#87) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index be96994..40f72b4 100644 --- a/Makefile +++ b/Makefile @@ -30,9 +30,9 @@ build: go build -ldflags "-X main.version=${VERSION}" build-release: - gox -verbose \ + GOARM=7 gox -verbose \ -ldflags "-X main.version=${VERSION}" \ - -osarch="windows/amd64 linux/386 linux/amd64 darwin/amd64" \ + -osarch="windows/amd64 linux/386 linux/amd64 darwin/amd64 linux/arm linux/arm64" \ -output="release/{{.Dir}}-${VERSION}-{{.OS}}-{{.Arch}}" . install: build