From: Kay Sievers Date: Wed, 26 Mar 2014 18:22:17 +0000 (+0100) Subject: build-sys: update "linkcheck" X-Git-Tag: v213~517 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e57e4e2be345f346bb49547ecad71dc000c406b2;p=thirdparty%2Fsystemd.git build-sys: update "linkcheck" ssuominen: and drop --no-as-needed from the linkcheck? ssuominen: i expect it all triggers without the gc-sections thing alone 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 ea5ede06fe7..88371a2df43 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: