From e3ae2c077f7de12652997abd60ffd702345c1596 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 26 Jan 2021 22:54:54 +0100 Subject: [PATCH] Arm macos uses arm64 as machine name. --- common/unix-release.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/unix-release.mk b/common/unix-release.mk index f554e2a3..07ac7d62 100644 --- a/common/unix-release.mk +++ b/common/unix-release.mk @@ -6,7 +6,7 @@ else LDFLAGS := -s endif -ifeq ($(ARCH),aarch64) +ifneq (,$(filter $(ARCH),aarch64 arm64)) CFLAGS += -mcpu=native else CFLAGS += -march=native