try fix illegal instruction

This commit is contained in:
Concedo 2024-12-09 16:56:28 +08:00
parent 7697252b17
commit 1bc987ba29

View file

@ -313,8 +313,8 @@ ifneq ($(filter aarch64%,$(UNAME_M)),)
# Raspberry Pi 3, 4, Zero 2 (64-bit)
ifdef LLAMA_PORTABLE
else
CFLAGS += -mcpu=native
CXXFLAGS += -mcpu=native
CFLAGS += -mcpu=native -march=native -mtune=native
CXXFLAGS += -mcpu=native -march=native -mtune=native
endif
endif