chiark / gitweb /
build-sys: update "linkcheck"
[elogind.git] / Makefile.am
index 01c981e386ff59b7b76f213c42cb75cd28fe0191..88371a2df43837c057dcbb3f70111cc4c58face0 100644 (file)
@@ -5036,9 +5036,9 @@ DISTCHECK_CONFIGURE_FLAGS += \
 endif
 
 # check "broken" platforms limited toolchains for link breakage before we release
-.PHONY: check-broken
-check-broken:
-       $(MAKE) CFLAGS='-fno-lto' LDFLAGS='-Wl,--no-as-needed -Wl,--no-gc-sections' distcheck
+.PHONY: linkcheck
+linkcheck:
+       $(MAKE) CFLAGS='-fno-lto' LDFLAGS='-Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--no-gc-sections' distcheck
 
 .PHONY: hwdb-update
 hwdb-update: