summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-31 15:01:29 -0400
committerSam James <sam@gentoo.org>2024-04-01 00:33:47 +0100
commitbc9c13edfc3e031b95be26c344be1b3231da560d (patch)
tree2051479f8908acbe1a4efe84e76cb2efbdd5fa4a /sci-libs
parentsys-boot/vboot-utils: mark as LTO-unsafe (diff)
downloadgentoo-bc9c13edfc3e031b95be26c344be1b3231da560d.tar.gz
gentoo-bc9c13edfc3e031b95be26c344be1b3231da560d.tar.bz2
gentoo-bc9c13edfc3e031b95be26c344be1b3231da560d.zip
sci-libs/lis: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/927587 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/lis/lis-1.6.5.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-libs/lis/lis-1.6.5.ebuild b/sci-libs/lis/lis-1.6.5.ebuild
index 27d638831af1..2f6b14fcccbd 100644
--- a/sci-libs/lis/lis-1.6.5.ebuild
+++ b/sci-libs/lis/lis-1.6.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools fortran-2 toolchain-funcs
+inherit autotools flag-o-matic fortran-2 toolchain-funcs
DESCRIPTION="Library of Iterative Solvers for Linear Systems"
HOMEPAGE="https://www.ssisc.org/lis/index.en.html"
@@ -34,6 +34,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/927587
+ # https://github.com/anishida/lis/issues/37
+ filter-lto
+
econf \
--enable-shared \
$(use_enable static-libs static) \