sci-ml/XNNPACK: mark as strict-aliasing unsafe

Closes: https://bugs.gentoo.org/953467
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-08-19 10:27:19 -04:00
parent c84a232155
commit 1686bec6e8

View File

@@ -32,6 +32,10 @@ RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( static-libs )"
src_configure() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/953467
# https://github.com/google/XNNPACK/issues/8800
append-flags -fno-strict-aliasing
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/933414
# https://github.com/google/XNNPACK/issues/6806