sci-libs/lapack: restore filter-lto

In 58d080c1ba, 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@gentoo.org>
This commit is contained in:
Sam James
2024-03-04 05:20:40 +00:00
parent 2053865004
commit fb7d223bb9
+4 -1
View File
@@ -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)