summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-06-01 23:09:49 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-06-01 23:10:45 +0200
commitd7b08071fdc32a112221f564862e350da18ad0ee (patch)
treea0c604ff912dc5d9831ccc8149d225bd708a32e6 /eclass/dune.eclass
parentapp-containers/snapd: 2.63 GNU_SOURCE patch for bug 933073 (diff)
downloadgentoo-d7b08071fdc32a112221f564862e350da18ad0ee.tar.gz
gentoo-d7b08071fdc32a112221f564862e350da18ad0ee.tar.bz2
gentoo-d7b08071fdc32a112221f564862e350da18ad0ee.zip
dune.eclass: filter TEXTRELS warnings on 32 bit arch
Closes: https://bugs.gentoo.org/928104 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'eclass/dune.eclass')
-rw-r--r--eclass/dune.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/dune.eclass b/eclass/dune.eclass
index f0faea007c9f..ba54e87ceaf9 100644
--- a/eclass/dune.eclass
+++ b/eclass/dune.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: dune.eclass
@@ -185,6 +185,10 @@ dune-install() {
}
dune_src_install() {
+ # OCaml generates textrels on 32-bit arches
+ if use arm || use ppc || use x86 ; then
+ export QA_TEXTRELS='.*'
+ fi
dune-install ${1:-${DUNE_PKG_NAME}}
}