diff --git a/common/unix-debug.mk b/common/unix-debug.mk index 3e57f6e0..9838061f 100644 --- a/common/unix-debug.mk +++ b/common/unix-debug.mk @@ -7,7 +7,9 @@ LDFLAGS := -fuse-ld=mold endif ifndef TRACY_NO_ISA_EXTENSIONS -ifeq ($(ARCH),x86_64) -CFLAGS += -msse4.1 +ifneq (,$(filter $(ARCH),aarch64 arm64)) +CFLAGS += -mcpu=native +else +CFLAGS += -march=native endif endif