diff options
Diffstat (limited to 'sys-process/criu/criu-3.7.ebuild')
-rw-r--r-- | sys-process/criu/criu-3.7.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-process/criu/criu-3.7.ebuild b/sys-process/criu/criu-3.7.ebuild index 1c2c80e5b56a..9a72bb4c7059 100644 --- a/sys-process/criu/criu-3.7.ebuild +++ b/sys-process/criu/criu-3.7.ebuild @@ -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)" \ |