From c6c01e0392b0afbd443ebd87efbb304d2f3cb058 Mon Sep 17 00:00:00 2001 From: Max Revitt Date: Thu, 3 Nov 2022 14:53:06 +0000 Subject: [PATCH] Makefile: fix for mac m1/2 (#725) Arch name was producing 404 when downloading releases from github for protoc due to incorrect arch name. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8f1503359..109011b2e 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ ARCH = $(shell uname -m) ifeq ($(OS),Darwin) PROTOC_OS := osx +ifeq ($(ARCH),arm64) +ARCH = aarch_64 +endif endif ifeq ($(OS),Linux) PROTOC_OS = linux