diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-07 20:54:17 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-08 11:09:01 +0000 |
commit | dd056658c602cf754e9b1d898eacaac73636df2b (patch) | |
tree | 3a86843ef97135f283e0b8d68e3f15db3cc49ddd /sci-libs/cgnslib | |
parent | sci-biology/abyss: mark as LTO-unsafe (diff) | |
download | gentoo-dd056658c602cf754e9b1d898eacaac73636df2b.tar.gz gentoo-dd056658c602cf754e9b1d898eacaac73636df2b.tar.bz2 gentoo-dd056658c602cf754e9b1d898eacaac73636df2b.zip |
sci-libs/cgnslib: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/862684
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/cgnslib')
-rw-r--r-- | sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild index 039b318c01be..39fb7c61d4a2 100644 --- a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild +++ b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 FORTRAN_NEEDED="fortran" FORTRAN_STANDARD="90 2003" -inherit cmake fortran-2 +inherit cmake flag-o-matic fortran-2 DESCRIPTION="CFD General Notation System standard library" HOMEPAGE=" @@ -56,6 +56,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/862684 + # https://github.com/CGNS/CGNS/issues/758 + filter-lto + local mycmakeargs=( -DCGNS_BUILD_SHARED=ON -DCGNS_USE_SHARED=ON |