diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-27 00:01:44 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-27 04:49:46 +0000 |
commit | 599e1dc43dd98ed10c46df2503493c712e74c2e6 (patch) | |
tree | 476f79e6d50a08f164fa5d1492d943246901565d /dev-perl | |
parent | app-arch/sharutils: add savannah upstream metadata (diff) | |
download | gentoo-599e1dc43dd98ed10c46df2503493c712e74c2e6.tar.gz gentoo-599e1dc43dd98ed10c46df2503493c712e74c2e6.tar.bz2 gentoo-599e1dc43dd98ed10c46df2503493c712e74c2e6.zip |
dev-perl/PDL: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/856406
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/PDL/PDL-2.63.0.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-perl/PDL/PDL-2.63.0.ebuild b/dev-perl/PDL/PDL-2.63.0.ebuild index f1d29bd269e6..6dcdc03f0842 100644 --- a/dev-perl/PDL/PDL-2.63.0.ebuild +++ b/dev-perl/PDL/PDL-2.63.0.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 @@ -9,7 +9,7 @@ DIST_EXAMPLES=( "Example/*" ) FORTRAN_NEEDED=fortran -inherit perl-module fortran-2 +inherit flag-o-matic perl-module fortran-2 DESCRIPTION="Perl Data Language for scientific computing" @@ -97,6 +97,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/856406 + # https://github.com/PDLPorters/pdl/issues/468 + filter-lto + sed -i \ -e '/USE_POGL/s/=>.*/=> 1,/' \ -e "/WITH_3D/s/=>.*/=> 1,/" \ |