Add "-mcpu=native" when building for aarch64

pull/532/head
FlippFuzz 1 year ago committed by GitHub
parent ca21f7ab16
commit ad94a83e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -141,6 +141,8 @@ ifdef WHISPER_GPROF
CXXFLAGS += -pg
endif
ifneq ($(filter aarch64%,$(UNAME_M)),)
CFLAGS += -mcpu=native
CXXFLAGS += -mcpu=native
endif
ifneq ($(filter armv6%,$(UNAME_M)),)
# Raspberry Pi 1, 2, 3

Loading…
Cancel
Save