Skip to content

Commit 982edee

Browse files
committed
Ugh, problems on the appliance
1 parent faa6cf6 commit 982edee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common/rules.mk

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ else
1818
$(info ** WARNING: Your C compiler does not support `-fsanitize=undefined`.)
1919
$(info ** You may want to install gcc-4.9 or greater.)
2020
endif
21+
ifeq ($(ISCLANG),0)
22+
ifeq ($(wildcard /usr/bin/gold),/usr/bin/gold)
23+
CFLAGS += -fuse-ld=gold
24+
endif
25+
endif
2126
endif
2227

2328
# these rules ensure dependencies are created

0 commit comments

Comments
 (0)