From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1616574-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A4172158004
	for <garchives@archives.gentoo.org>; Tue,  2 Apr 2024 09:59:07 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E04D3E2AA2;
	Tue,  2 Apr 2024 09:59:06 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CAD4BE2AA2
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 09:59:06 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id F005734321B
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 09:59:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F880BEB
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 09:59:04 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1712051909.9fb89e04acbc479130d607130f6b4b731c8827e2.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/supercollider/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/supercollider/supercollider-3.13.0.ebuild
X-VCS-Directories: media-sound/supercollider/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 9fb89e04acbc479130d607130f6b4b731c8827e2
X-VCS-Branch: master
Date: Tue,  2 Apr 2024 09:59:04 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 914c7c2a-12bc-4926-8199-ad18413ea603
X-Archives-Hash: 379a64c42e1a25007cc18ed71976b1cd

commit:     9fb89e04acbc479130d607130f6b4b731c8827e2
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Apr  2 06:40:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  2 09:58:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fb89e04

media-sound/supercollider: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/927071
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/supercollider/supercollider-3.13.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

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