From 4ac199b208b28dc61e348f86e7644d6ad5304680 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:06:37 +0800 Subject: [PATCH] try fix sigill --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b1c5ef38d..ea8bc1323 100644 --- a/Makefile +++ b/Makefile @@ -313,8 +313,8 @@ ifneq ($(filter aarch64%,$(UNAME_M)),) # Raspberry Pi 3, 4, Zero 2 (64-bit) ifdef LLAMA_PORTABLE else - CFLAGS += -mcpu=native -march=native -mtune=native - CXXFLAGS += -mcpu=native -march=native -mtune=native + CFLAGS += -mcpu=native -mno-unaligned-access + CXXFLAGS += -mcpu=native -mno-unaligned-access endif endif