commit: 20e06faab917e7b435082408e36a743aa8ec38b3 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Thu Sep 5 03:08:20 2024 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Thu Sep 5 04:07:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20e06faa
sci-libs/XNNPACK: mark as LTO-unsafe Closes: https://bugs.gentoo.org/933414 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild b/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild index 28d2c0606622..a59ac4887be9 100644 --- a/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild +++ b/sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake +inherit cmake flag-o-matic CommitId=fcbf55af6cf28a4627bcd1f703ab7ad843f0f3a2 @@ -54,6 +54,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/933414 + # https://github.com/google/XNNPACK/issues/6806 + filter-lto + local mycmakeargs=( -DXNNPACK_BUILD_BENCHMARKS=OFF -DXNNPACK_USE_SYSTEM_LIBS=ON
