Skip to content

Commit

Permalink
make : add "-mcpu=native" when building for aarch64 (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlippFuzz authored Feb 27, 2023
1 parent d176160 commit f420de1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
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 f420de1

Please sign in to comment.