[systemd-commits] Makefile.am
Kay Sievers
kay at kemper.freedesktop.org
Wed Mar 26 11:24:49 PDT 2014
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e57e4e2be345f346bb49547ecad71dc000c406b2
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 26 19:22:17 2014 +0100
build-sys: update "linkcheck"
<kay> ssuominen: and drop --no-as-needed from the linkcheck?
<kay> ssuominen: i expect it all triggers without the gc-sections thing alone
<ssuominen> if the intention is to make it strict as possible,
to catch undefined references caused by missing -lfoo in linker line, then
LDFLAGS="-Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--no-gc-sections"
diff --git a/Makefile.am b/Makefile.am
index ea5ede0..88371a2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5038,7 +5038,7 @@ endif
# check "broken" platforms limited toolchains for link breakage before we release
.PHONY: linkcheck
linkcheck:
- $(MAKE) CFLAGS='-fno-lto' LDFLAGS='-Wl,--no-as-needed -Wl,--no-gc-sections' distcheck
+ $(MAKE) CFLAGS='-fno-lto' LDFLAGS='-Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--no-gc-sections' distcheck
.PHONY: hwdb-update
hwdb-update:
More information about the systemd-commits
mailing list