mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
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"
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user