Spaces:
Running
Running
FlippFuzz commited on
make : add "-mcpu=native" when building for aarch64 (#532)
Browse files
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
|