summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-24 01:28:32 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-24 01:29:07 -0700
commitae76b6469821f5685dd91b767f962c0ac06ef4b6 (patch)
treec6e1b97d71eb005450309479fde9cdce3bc4431d /sys-process/criu/criu-3.14-r2.ebuild
parentwww-servers/pshs: x86 stable wrt bug #743277 (diff)
downloadgentoo-ae76b6469821f5685dd91b767f962c0ac06ef4b6.tar.gz
gentoo-ae76b6469821f5685dd91b767f962c0ac06ef4b6.tar.bz2
gentoo-ae76b6469821f5685dd91b767f962c0ac06ef4b6.zip
sys-process/criu: unset GCOV completely
Bug: https://bugs.gentoo.org/744244 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-process/criu/criu-3.14-r2.ebuild')
-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}
}