mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/criu: disable use of the gold linker
The criu build process uses a custom linker script that doesn't play well the output of the gold linker leading to build failures. Disable gold for now to avoid this.
This commit is contained in:
committed by
Mike Frysinger
parent
5031b0bd34
commit
e0cd3d9f23
@@ -66,6 +66,12 @@ src_prepare() {
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Gold linker generates invalid object file when used with criu's custom
|
||||
# linker script. Use the bfd linker instead. See https://crbug.com/839665#c3
|
||||
tc-ld-disable-gold
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
RAW_LDFLAGS="$(raw-ldflags)" emake \
|
||||
CC="$(tc-getCC)" \
|
||||
|
||||
Reference in New Issue
Block a user