commit: 3f9350ba6d6df6a6b111da1cdb4f0169cfa4aa90 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Wed Aug 21 18:24:38 2024 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Wed Aug 21 19:07:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9350ba
dev-libs/papi: mark as LTO-unsafe Closes: https://bugs.gentoo.org/855983 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-libs/papi/papi-6.0.0.1-r2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-libs/papi/papi-6.0.0.1-r2.ebuild b/dev-libs/papi/papi-6.0.0.1-r2.ebuild index b9e9db7b2516..c34705f99e5f 100644 --- a/dev-libs/papi/papi-6.0.0.1-r2.ebuild +++ b/dev-libs/papi/papi-6.0.0.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools fortran-2 toolchain-funcs +inherit autotools flag-o-matic fortran-2 toolchain-funcs DESCRIPTION="Performance Application Programming Interface" HOMEPAGE="https://icl.cs.utk.edu/papi/" @@ -33,6 +33,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/855983 + # https://github.com/icl-utk-edu/papi/issues/218 + filter-lto + tc-export AR # TODO: Could try adding