mirror of
https://github.com/systemd/systemd.git
synced 2024-12-17 22:23:39 +08:00
build-sys: add "make check-broken" to find limited-toolchain link errors
This commit is contained in:
parent
2fa495c8a4
commit
5870f79a0b
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user