FlippFuzz commited on
Commit
3f06aea
·
unverified ·
1 Parent(s): a23e0a1

make : add "-mcpu=native" when building for aarch64 (#532)

Browse files
Files changed (1) hide show
  1. Makefile +2 -0
Makefile CHANGED
@@ -141,6 +141,8 @@ ifdef WHISPER_GPROF
141
  CXXFLAGS += -pg
142
  endif
143
  ifneq ($(filter aarch64%,$(UNAME_M)),)
 
 
144
  endif
145
  ifneq ($(filter armv6%,$(UNAME_M)),)
146
  # Raspberry Pi 1, 2, 3
 
141
  CXXFLAGS += -pg
142
  endif
143
  ifneq ($(filter aarch64%,$(UNAME_M)),)
144
+ CFLAGS += -mcpu=native
145
+ CXXFLAGS += -mcpu=native
146
  endif
147
  ifneq ($(filter armv6%,$(UNAME_M)),)
148
  # Raspberry Pi 1, 2, 3