build-sys: add "make check-broken" to find limited-toolchain link errors

This commit is contained in:
Kay Sievers 2014-03-26 01:26:44 +01:00
parent 2fa495c8a4
commit 5870f79a0b

View file

@ -5033,6 +5033,11 @@ DISTCHECK_CONFIGURE_FLAGS += \
--enable-gtk-doc
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: hwdb-update
hwdb-update:
( cd $(top_srcdir)/hwdb && \