summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-08-05 14:46:02 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-08-05 20:18:31 -0400
commitaf2e7ef90af5c37f4cd561ff3bb1053b3aeee2d4 (patch)
treebab2f3524e7834e4915d0947e89a447d143cff80 /sci-libs
parentsci-mathematics/jags: make sure elibtoolize is applied (diff)
downloadgentoo-af2e7ef90af5c37f4cd561ff3bb1053b3aeee2d4.tar.gz
gentoo-af2e7ef90af5c37f4cd561ff3bb1053b3aeee2d4.tar.bz2
gentoo-af2e7ef90af5c37f4cd561ff3bb1053b3aeee2d4.zip
sci-libs/gsl: mark as LTO-unsafe
It appears to be fixed in 2.8 but the package is high-maintenance due to required patching. Filter it for now and drop the filter when updating to the new version. Closes: https://bugs.gentoo.org/927585 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/gsl/gsl-2.7.1-r2.ebuild8
-rw-r--r--sci-libs/gsl/gsl-2.7.1-r3.ebuild6
2 files changed, 13 insertions, 1 deletions
diff --git a/sci-libs/gsl/gsl-2.7.1-r2.ebuild b/sci-libs/gsl/gsl-2.7.1-r2.ebuild
index 62c11d0d8578..ddc7239a72ce 100644
--- a/sci-libs/gsl/gsl-2.7.1-r2.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-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
@@ -36,6 +36,12 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/927585
+ #
+ # Testsuite issue. Seems fixed in 2.8.
+ filter-lto
+
filter-flags -ffast-math
if use cblas-external; then
diff --git a/sci-libs/gsl/gsl-2.7.1-r3.ebuild b/sci-libs/gsl/gsl-2.7.1-r3.ebuild
index 81205249e873..e3b8d92fe484 100644
--- a/sci-libs/gsl/gsl-2.7.1-r3.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r3.ebuild
@@ -37,6 +37,12 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/927585
+ #
+ # Testsuite issue. Seems fixed in 2.8.
+ filter-lto
+
filter-flags -ffast-math
if use cblas-external; then