commit:     1686bec6e8d5c3cc6e141da08da9ae8bc66e8e3b
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 19 14:27:19 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug 19 19:06:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1686bec6

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

Closes: https://bugs.gentoo.org/953467
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sci-ml/XNNPACK/XNNPACK-2024.12.03.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-ml/XNNPACK/XNNPACK-2024.12.03.ebuild 
b/sci-ml/XNNPACK/XNNPACK-2024.12.03.ebuild
index 71a1ced0d775..7a94c38a030d 100644
--- a/sci-ml/XNNPACK/XNNPACK-2024.12.03.ebuild
+++ b/sci-ml/XNNPACK/XNNPACK-2024.12.03.ebuild
@@ -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

Reply via email to