summaryrefslogtreecommitdiff
path: root/sci-libs/med/med-4.1.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/med/med-4.1.1.ebuild')
-rw-r--r--sci-libs/med/med-4.1.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/med/med-4.1.1.ebuild b/sci-libs/med/med-4.1.1.ebuild
index 636cb55f6c71..ff91fb7b8fd2 100644
--- a/sci-libs/med/med-4.1.1.ebuild
+++ b/sci-libs/med/med-4.1.1.ebuild
@@ -7,7 +7,7 @@ FORTRAN_NEEDED=fortran
PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake fortran-2 python-single-r1
+inherit cmake flag-o-matic fortran-2 python-single-r1
DESCRIPTION="A library to store and exchange meshed data or computation results"
HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
@@ -62,6 +62,9 @@ src_prepare() {
sed -e 's|doc/med-${MED_STR_VERSION}|doc/med-${MED_STR_VERSION}/html|' \
-i CMakeLists.txt || die "fix doc path failed"
+ # bug #862900, already reported upstream. CHECK on updates!
+ filter-lto
+
cmake_src_prepare
}