Skip to content

Commit f420de1

Browse files
authored
make : add "-mcpu=native" when building for aarch64 (#532)
1 parent d176160 commit f420de1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ ifdef WHISPER_GPROF
141141
CXXFLAGS += -pg
142142
endif
143143
ifneq ($(filter aarch64%,$(UNAME_M)),)
144+
CFLAGS += -mcpu=native
145+
CXXFLAGS += -mcpu=native
144146
endif
145147
ifneq ($(filter armv6%,$(UNAME_M)),)
146148
# Raspberry Pi 1, 2, 3

0 commit comments

Comments
 (0)