summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ea5ede06fe..88371a2df4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5038,7 +5038,7 @@ endif
# check "broken" platforms limited toolchains for link breakage before we release
.PHONY: linkcheck
linkcheck:
- $(MAKE) CFLAGS='-fno-lto' LDFLAGS='-Wl,--no-as-needed -Wl,--no-gc-sections' distcheck
+ $(MAKE) CFLAGS='-fno-lto' LDFLAGS='-Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--no-gc-sections' distcheck
.PHONY: hwdb-update
hwdb-update: