commit:     fb7d223bb97be7db2af28d511e2342d45d59211e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 05:20:07 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 05:20:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb7d223b

sci-libs/lapack: restore filter-lto

In 58d080c1bad9b1c0d307f2cf2d0251d60025efb1, we dropped filter-lto, but
the testsuite still fails to build with LTO, so put it back.

Bug: https://bugs.gentoo.org/878891
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index 9ccdd64e8562..b1b9e9824637 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake fortran-2 python-any-r1
+inherit cmake flag-o-matic fortran-2 python-any-r1
 
 DESCRIPTION="BLAS, CBLAS, LAPACK, LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/";
@@ -47,6 +47,9 @@ pkg_setup() {
 }
 
 src_configure() {
+       # bug #878891
+       filter-lto
+
        local mycmakeargs=(
                -DCBLAS=ON
                -DLAPACKE=$(usex lapacke)

Reply via email to