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:
Rahul Chaudhry
2018-05-07 02:35:51 -04:00
committed by Mike Frysinger
parent 5031b0bd34
commit e0cd3d9f23

View File

@@ -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)" \