diff options
author | Rahul Chaudhry <rahulchaudhry@chromium.org> | 2018-05-07 02:35:51 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2018-05-07 02:37:10 -0400 |
commit | e0cd3d9f23b1d6caa25abcc9aaf4521c52dabc03 (patch) | |
tree | 50f4d61d742f94a2af2cef61e22c56c5db040514 /sys-process/criu | |
parent | x11-terms/kitty: version bump to 0.9.1 (diff) | |
download | gentoo-e0cd3d9f23b1d6caa25abcc9aaf4521c52dabc03.tar.gz gentoo-e0cd3d9f23b1d6caa25abcc9aaf4521c52dabc03.tar.bz2 gentoo-e0cd3d9f23b1d6caa25abcc9aaf4521c52dabc03.zip |
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.
Diffstat (limited to 'sys-process/criu')
-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)" \ |