tracy/common/unix-debug.mk

14 lines
313 B
Makefile
Raw Normal View History

2022-04-27 00:17:16 +00:00
ARCH := $(shell uname -m)
ifeq (1,$(shell $(CC) --version | grep clang > /dev/null && echo 1 || echo 0))
ifeq (1,$(shell ld.mold --version > /dev/null 2> /dev/null && echo 1 || echo 0))
LDFLAGS := -fuse-ld=mold
endif
2022-04-27 00:17:16 +00:00
endif
ifndef TRACY_NO_ISA_EXTENSIONS
2022-04-27 00:17:16 +00:00
ifeq ($(ARCH),x86_64)
CFLAGS += -msse4.1
endif
endif