summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-03-26 01:26:44 +0100
committerKay Sievers <kay@vrfy.org>2014-03-26 01:36:57 +0100
commit5870f79a0bb7d891b1cdb20043816aa2a21c0425 (patch)
treeac2f176119c3cfd52411d3d977c99f1f18850c9d /Makefile.am
parent2fa495c8a4ea25cb96daebb8aa0d146b74353016 (diff)
build-sys: add "make check-broken" to find limited-toolchain link errors
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 3d9e5c1c4b..abef51779d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 && \