summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-09-04 23:08:20 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-09-05 00:07:45 -0400
commit20e06faab917e7b435082408e36a743aa8ec38b3 (patch)
treee1c614d2cd70377fd33ceba4a1752aef2f41abb9
parentsci-chemistry/pymol: mark as LTO-unsafe (diff)
downloadgentoo-20e06faab917e7b435082408e36a743aa8ec38b3.tar.gz
gentoo-20e06faab917e7b435082408e36a743aa8ec38b3.tar.bz2
gentoo-20e06faab917e7b435082408e36a743aa8ec38b3.zip
sci-libs/XNNPACK: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/933414 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
-rw-r--r--sci-libs/XNNPACK/XNNPACK-2024.02.29.ebuild7
1 files changed, 6 insertions, 1 deletions
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