summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-04-02 02:40:09 -0400
committerSam James <sam@gentoo.org>2024-04-02 10:58:29 +0100
commit9fb89e04acbc479130d607130f6b4b731c8827e2 (patch)
treeb455b3a9d40bb5096ed28bf5626755f7b6f61727 /media-sound/supercollider
parentkde-misc/kdeconnect: mark as LTO-unsafe (diff)
downloadgentoo-9fb89e04acbc479130d607130f6b4b731c8827e2.tar.gz
gentoo-9fb89e04acbc479130d607130f6b4b731c8827e2.tar.bz2
gentoo-9fb89e04acbc479130d607130f6b4b731c8827e2.zip
media-sound/supercollider: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/927071 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/supercollider')
-rw-r--r--media-sound/supercollider/supercollider-3.13.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-sound/supercollider/supercollider-3.13.0.ebuild b/media-sound/supercollider/supercollider-3.13.0.ebuild
index 2b8ee8636dd3..a240f4f6df33 100644
--- a/media-sound/supercollider/supercollider-3.13.0.ebuild
+++ b/media-sound/supercollider/supercollider-3.13.0.ebuild
@@ -68,6 +68,12 @@ PATCHES=(
)
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/927071
+ # https://github.com/supercollider/supercollider/issues/6245
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local mycmakeargs=(
-DSC_CLANG_USES_LIBSTDCPP=ON
-DINSTALL_HELP=ON