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

Signed-off-by: Alexander Puck Neuwirth <apn-pucky@gentoo.org>
This commit is contained in:
Alexander Puck Neuwirth
2025-07-21 22:30:30 +02:00
parent f6d753b272
commit 71a9c58cdd

View File

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