From 3d7169951f935bb13bcad34f55673a92f6cb459c Mon Sep 17 00:00:00 2001 From: Charles JUDITH Date: Tue, 28 Dec 2021 11:26:27 +0100 Subject: [PATCH] Add build support for linux_arm64 Fixes: #16 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0bf78a4..1b51310 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,8 @@ build: -o ./build/sentinelcli-${VERSION}-darwin-amd64 main.go GOOS=linux GOARCH=amd64 go build -mod=readonly -tags="${BUILD_TAGS}" -ldflags="${LD_FLAGS}" \ -o ./build/sentinelcli-${VERSION}-linux-amd64 main.go + GOOS=linux GOARCH=arm64 go build -mod=readonly -tags="${BUILD_TAGS}" -ldflags="${LD_FLAGS}" \ + -o ./build/sentinelcli-${VERSION}-linux-arm64 main.go .PHONY: install install: