mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-01 17:34:36 +00:00
10 lines
172 B
Makefile
10 lines
172 B
Makefile
ARCH := $(shell uname -m)
|
|
|
|
ifeq (1,$(shell ld.lld --version > /dev/null && echo 1 || echo 0))
|
|
LDFLAGS += -fuse-ld=lld
|
|
endif
|
|
|
|
ifeq ($(ARCH),x86_64)
|
|
CFLAGS += -msse4.1
|
|
endif
|