1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 05:03:53 +00:00

Fix clang test.

This commit is contained in:
Bartosz Taudul 2022-04-28 22:51:37 +02:00
parent 7d80c088fc
commit 3bc42faeb3
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1,6 +1,6 @@
ARCH := $(shell uname -m) ARCH := $(shell uname -m)
ifeq (0,$(shell $(CC) --version | grep clang && echo 1 || echo 0)) ifeq (0,$(shell $(CC) --version | grep clang > /dev/null && echo 1 || echo 0))
CFLAGS += -s CFLAGS += -s
else else
ifeq (1,$(shell ld.mold --version > /dev/null && echo 1 || echo 0)) ifeq (1,$(shell ld.mold --version > /dev/null && echo 1 || echo 0))