commit:     adfea9ba7061d5b9f5d5c8081807a2c8660a51cd
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 05:15:55 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug 14 05:02:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adfea9ba

media-sound/csound: mark as strict-aliasing unsafe

USE flag dependent.

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

 media-sound/csound/csound-6.17.0-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/media-sound/csound/csound-6.17.0-r1.ebuild 
b/media-sound/csound/csound-6.17.0-r1.ebuild
index a6bdd2e7c2cc..8b39b6b04562 100644
--- a/media-sound/csound/csound-6.17.0-r1.ebuild
+++ b/media-sound/csound/csound-6.17.0-r1.ebuild
@@ -123,6 +123,10 @@ src_configure() {
        # https://bugs.gentoo.org/860492
        # https://github.com/csound/csound/issues/1919
        filter-lto
+       # -Werror=strict-aliasin
+       # https://bugs.gentoo.org/960628
+       # https://github.com/csound/csound/pull/2232
+       use java && append-flags -fno-strict-aliasing
 
        local mycmakeargs=(
                -DBUILD_BELA=OFF

Reply via email to