Welcome to mirror list, hosted at ThFree Co, Russian Federation.

unix-debug.mk « common - github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 275eb4d63cc35e97222d7bc6a96b60d3a6d5fbe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 && echo 1 || echo 0))
LDFLAGS := -fuse-ld=mold
  endif
endif

ifeq ($(ARCH),x86_64)
CFLAGS += -msse4.1
endif