From 9f3d97e8759e6f5628a23d33589d19bc35c50947 Mon Sep 17 00:00:00 2001 From: Nate Gay Date: Wed, 21 Feb 2024 13:26:34 -0600 Subject: [PATCH] Add support for darwin/arm64 (#411) --- 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)