From fa8a066b4c7599d61d214ab11fd7c4d0d09ff40d Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Tue, 7 Dec 2021 15:18:58 +0800 Subject: [PATCH] Disable cpufeatures on darwin/arm64 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5964b2251..4eb52167c 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,10 @@ ifeq ($(UNAME), Darwin) COMPAT += compat/clock_nanosleep/clock_nanosleep.o LIBS_USB += -lusb-1.0 LIBS_CURSES := -lncurses - CPUFEATURES ?= yes + # cpufeatures reportedly does not work (yet) on darwin arm64 + ifneq $($(ARCH),arm64) + CPUFEATURES ?= yes + endif endif ifeq ($(UNAME), OpenBSD)