mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Target native architecture when making debug builds.
This commit is contained in:
parent
259672abc6
commit
d67e51a4ba
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user