From e57e4e2be345f346bb49547ecad71dc000c406b2 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 26 Mar 2014 19:22:17 +0100 Subject: [PATCH] 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" --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ea5ede06f..88371a2df 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: -- 2.30.2