summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-06-01 23:33:40 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-06-01 23:34:37 +0200
commit387f6b19891fc78d3369a0e85518c4d706dddbc2 (patch)
tree4f861d5aa2454ecea0e97ca383683b36a76e21a8 /eclass
parentmedia-video/vdr: add 2.6.7 (diff)
downloadgentoo-387f6b19891fc78d3369a0e85518c4d706dddbc2.tar.gz
gentoo-387f6b19891fc78d3369a0e85518c4d706dddbc2.tar.bz2
gentoo-387f6b19891fc78d3369a0e85518c4d706dddbc2.zip
findlib.eclass: ignore TEXTRELS
Closes: https://bugs.gentoo.org/738418 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/findlib.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
index fdcaa0c1b77c..f0371ef00e10 100644
--- a/eclass/findlib.eclass
+++ b/eclass/findlib.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: findlib.eclass
@@ -68,6 +68,10 @@ findlib_src_preinst() {
# @DESCRIPTION:
# Install with a properly setup findlib
findlib_src_install() {
+ # OCaml generates textrels on 32-bit arches
+ if use arm || use ppc || use x86 ; then
+ export QA_TEXTRELS='.*'
+ fi
findlib_src_preinst
make DESTDIR="${D}" "$@" install || die "make failed"
}