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,8 +62,11 @@ ifeq ($(UNAME), Darwin)
COMPAT += compat/clock_nanosleep/clock_nanosleep.o COMPAT += compat/clock_nanosleep/clock_nanosleep.o
LIBS_USB += -lusb-1.0 LIBS_USB += -lusb-1.0
LIBS_CURSES := -lncurses LIBS_CURSES := -lncurses
# cpufeatures reportedly does not work (yet) on darwin arm64
ifneq $($(ARCH),arm64)
CPUFEATURES ?= yes CPUFEATURES ?= yes
endif endif
endif
ifeq ($(UNAME), OpenBSD) ifeq ($(UNAME), OpenBSD)
DUMP1090_CPPFLAGS += -DMISSING_NANOSLEEP DUMP1090_CPPFLAGS += -DMISSING_NANOSLEEP