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

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-05-05 03:40:00 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-05-05 03:40:00 +0300
commit0a432ed349c22a3adf25f779dd53791acff6eaa0 (patch)
treea939881bfcbf6f538a7505ad217c52eb5c403141 /common
parentde312c6cc7102861f93a573da705d16533ab5084 (diff)
Ignore ld.mold not found error during detection.
Diffstat (limited to 'common')
-rw-r--r--common/unix-debug.mk2
-rw-r--r--common/unix-release.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/unix-debug.mk b/common/unix-debug.mk
index 275eb4d6..f304dac4 100644
--- a/common/unix-debug.mk
+++ b/common/unix-debug.mk
@@ -1,7 +1,7 @@
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))
+ ifeq (1,$(shell ld.mold --version > /dev/null 2> /dev/null && echo 1 || echo 0))
LDFLAGS := -fuse-ld=mold
endif
endif
diff --git a/common/unix-release.mk b/common/unix-release.mk
index ccff2679..a91ddb09 100644
--- a/common/unix-release.mk
+++ b/common/unix-release.mk
@@ -3,7 +3,7 @@ ARCH := $(shell uname -m)
ifeq (0,$(shell $(CC) --version | grep clang > /dev/null && echo 1 || echo 0))
CFLAGS += -s
else
- ifeq (1,$(shell ld.mold --version > /dev/null && echo 1 || echo 0))
+ ifeq (1,$(shell ld.mold --version > /dev/null 2> /dev/null && echo 1 || echo 0))
LDFLAGS := -s -fuse-ld=mold
else
LDFLAGS := -s