findlib.eclass: ignore TEXTRELS

Closes: https://bugs.gentoo.org/738418
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2024-06-01 23:33:40 +02:00
parent 5094bd49be
commit 387f6b1989
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58

View File

@ -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"
}