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: