From d07e19cdbae28d4847a638208324948d84b433f5 Mon Sep 17 00:00:00 2001 From: Nate Gay Date: Mon, 5 Feb 2024 10:32:07 -0600 Subject: [PATCH] Add support for darwin/arm64 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5be70a5b..277ac28d 100644 --- a/Makefile +++ b/Makefile @@ -34,8 +34,12 @@ VERSION_PACKAGE := $(REPOPATH)/pkg/version ifeq ($(GOARCH), amd64) SUPPORTED_PLATFORMS := linux-$(GOARCH) darwin-$(GOARCH) windows-$(GOARCH).exe else +ifeq ($(GOARCH), arm64) +SUPPORTED_PLATFORMS := linux-$(GOARCH) darwin-$(GOARCH) +else SUPPORTED_PLATFORMS := linux-$(GOARCH) endif +endif GO_LDFLAGS :=" GO_LDFLAGS += -X $(VERSION_PACKAGE).version=$(VERSION)