summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/criu/criu-3.14-r2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-process/criu/criu-3.14-r2.ebuild b/sys-process/criu/criu-3.14-r2.ebuild
index aee154fafa4..87fc935c2d6 100644
--- a/sys-process/criu/criu-3.14-r2.ebuild
+++ b/sys-process/criu/criu-3.14-r2.ebuild
@@ -79,6 +79,11 @@ 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
+
+ # Build system uses this variable as a trigger to append coverage flags
+ # we'd like to avoid it. https://bugs.gentoo.org/744244
+ unset GCOV
+
python_setup
}
@@ -94,7 +99,7 @@ src_compile() {
OBJCOPY="$(tc-getOBJCOPY)" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
ARCH="$(criu_arch)" \
- V=1 WERROR=0 DEBUG=0 GCOV= \
+ V=1 WERROR=0 DEBUG=0 \
SETPROCTITLE=$(usex setproctitle) \
${target}
}