mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-27 13:57:26 +03: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:
parent
bc61d6ac01
commit
e57e4e2be3
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user