From 1cd2671975871e08c2af418d75c37ba03eb03f27 Mon Sep 17 00:00:00 2001 From: Christoph Settgast Date: Sun, 3 Mar 2024 14:22:55 +0100 Subject: [PATCH] ARM64 support provide binaries also for the arm64 platforms as go supports them relatively easily This should help to get this CLI running with newer mac hardware natively Signed-off-by: Christoph Settgast --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4874eff..cc724f6 100644 --- a/Makefile +++ b/Makefile @@ -39,9 +39,9 @@ dist: test @echo "Building for x-platform..." @${GO} install github.com/mitchellh/gox #@${GOX} -build-toolchain \ - #-osarch="linux/amd64 linux/386 darwin/amd64 windows/386 windows/amd64" + #-osarch="linux/amd64 linux/386 linux/arm64 darwin/amd64 darwin/arm64 windows/386 windows/amd64" @${GOX} -output="${GOPATH}/bin/{{.OS}}_{{.Arch}}/{{.Dir}}" \ - -osarch="linux/amd64 linux/386 darwin/amd64 windows/386 windows/amd64" \ + -osarch="linux/amd64 linux/386 linux/arm64 darwin/amd64 darwin/arm64 windows/386 windows/amd64" \ ./dp2/ test: