Skip to content

Commit

Permalink
make : add "-mcpu=native" when building for aarch64 (ggerganov#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlippFuzz committed Feb 27, 2023
1 parent ad08816 commit 05b76f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 05b76f9

Please sign in to comment.