diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2022-08-10 17:37:37 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-08-23 14:09:37 +0200 |
commit | c2ff013eccf3957a6a0980005fb0a3eb6745dfce (patch) | |
tree | a8ac3ba40dbc76c65b8938090c9821f2b7362c30 /sci-libs/med | |
parent | sci-biology/pals: use HTTPS (diff) | |
download | gentoo-c2ff013eccf3957a6a0980005fb0a3eb6745dfce.tar.gz gentoo-c2ff013eccf3957a6a0980005fb0a3eb6745dfce.tar.bz2 gentoo-c2ff013eccf3957a6a0980005fb0a3eb6745dfce.zip |
sci-libs/med: filter lto flags
Closes: https://bugs.gentoo.org/862900
Bug: https://discourse.salome-platform.org/t/build-issue-with-medfile-and-lto-werror-lto-type-mismatch/323/2
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/26813
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-libs/med')
-rw-r--r-- | sci-libs/med/med-4.1.1.ebuild | 5 |
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 } |