mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
The mold linker is not recognized by gcc.
This commit is contained in:
parent
3bc42faeb3
commit
31b3212f76
@ -1,7 +1,9 @@
|
||||
ARCH := $(shell uname -m)
|
||||
|
||||
ifeq (1,$(shell ld.mold --version > /dev/null && echo 1 || echo 0))
|
||||
LDFLAGS += -fuse-ld=mold
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user