commit:     71a9c58cdd8e218e4c4ff913e8cd34719cb85578
Author:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 21 20:30:30 2025 +0000
Commit:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Mon Jul 21 20:30:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71a9c58c

sci-libs/med: only filter-lto on use fortran

Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>

 sci-libs/med/med-5.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/med/med-5.0.0.ebuild b/sci-libs/med/med-5.0.0.ebuild
index a83933f4f7e9..ab235019e0e0 100644
--- a/sci-libs/med/med-5.0.0.ebuild
+++ b/sci-libs/med/med-5.0.0.ebuild
@@ -50,7 +50,7 @@ src_prepare() {
                -i CMakeLists.txt || die "fix doc path failed"
 
        # bug #862900, already reported upstream. CHECK on updates!
-       filter-lto
+       use fortran && filter-lto
 
        cmake_src_prepare
 }

Reply via email to