Disable cpufeatures on darwin/arm64

This commit is contained in:
Oliver Jowett 2021-12-07 15:18:58 +08:00
parent b645f7d4f2
commit fa8a066b4c
1 changed files with 4 additions and 1 deletions

View File

@ -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)