Skip to content

Commit 9f3d97e

Browse files
authored
Add support for darwin/arm64 (#411)
1 parent 8f1b277 commit 9f3d97e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ VERSION_PACKAGE := $(REPOPATH)/pkg/version
3434
ifeq ($(GOARCH), amd64)
3535
SUPPORTED_PLATFORMS := linux-$(GOARCH) darwin-$(GOARCH) windows-$(GOARCH).exe
3636
else
37+
ifeq ($(GOARCH), arm64)
38+
SUPPORTED_PLATFORMS := linux-$(GOARCH) darwin-$(GOARCH)
39+
else
3740
SUPPORTED_PLATFORMS := linux-$(GOARCH)
3841
endif
42+
endif
3943

4044
GO_LDFLAGS :="
4145
GO_LDFLAGS += -X $(VERSION_PACKAGE).version=$(VERSION)

0 commit comments

Comments
 (0)