diff --git a/Makefile b/Makefile index 78218a9d7..a4216ceed 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 -fsanitize=undefined - CXXFLAGS += -mcpu=native -fsanitize=undefined + CFLAGS += -mcpu=native + CXXFLAGS += -mcpu=native endif endif