Target native architecture when making debug builds.

This commit is contained in:
Bartosz Taudul 2022-08-08 18:47:47 +02:00
parent 259672abc6
commit d67e51a4ba
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -7,7 +7,9 @@ LDFLAGS := -fuse-ld=mold
endif endif
ifndef TRACY_NO_ISA_EXTENSIONS ifndef TRACY_NO_ISA_EXTENSIONS
ifeq ($(ARCH),x86_64) ifneq (,$(filter $(ARCH),aarch64 arm64))
CFLAGS += -msse4.1 CFLAGS += -mcpu=native
else
CFLAGS += -march=native
endif endif
endif endif