From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1657827-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 A8F02159C9B
	for <garchives@archives.gentoo.org>; Thu,  1 Aug 2024 07:05:55 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6B82BE2A37;
	Thu,  1 Aug 2024 07:05:54 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4C42CE2A37
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Aug 2024 07:05:54 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 486B2335D21
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Aug 2024 07:05:53 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id ADFEF1E8F
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Aug 2024 07:05:51 +0000 (UTC)
From: "Eli Schwartz" <eschwartz@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, "Eli Schwartz" <eschwartz@gentoo.org>
Message-ID: <1722495610.8c654eddc60e2150cbe88177f48dbd3e4ac0c148.eschwartz@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-workbench/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild
X-VCS-Directories: dev-db/mysql-workbench/
X-VCS-Committer: eschwartz
X-VCS-Committer-Name: Eli Schwartz
X-VCS-Revision: 8c654eddc60e2150cbe88177f48dbd3e4ac0c148
X-VCS-Branch: master
Date: Thu,  1 Aug 2024 07:05:51 +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: cf5da38d-a3a3-43d6-bbe0-9d4da1f246c0
X-Archives-Hash: ef06cf7fd1b6d0d28ed99143e5b345b8

commit:     8c654eddc60e2150cbe88177f48dbd3e4ac0c148
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 06:14:02 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 07:00:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c654edd

dev-db/mysql-workbench: mark as LTO-unsafe

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

 dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild | 5 +++++
 dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild
index bb6113df89ed..1b9cbeeefbf0 100644
--- a/dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild
+++ b/dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild
@@ -92,6 +92,11 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=odr
+	# https://bugs.gentoo.org/924671
+	# https://bugs.mysql.com/bug.php?id=115735
+	filter-lto
+
 	if has_version dev-db/libiodbc ; then
 		IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config"
 	fi

diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild
index 584f3a01ce3c..70131a7b738a 100644
--- a/dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild
+++ b/dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild
@@ -90,6 +90,11 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=odr
+	# https://bugs.gentoo.org/924671
+	# https://bugs.mysql.com/bug.php?id=115735
+	filter-lto
+
 	if has_version dev-db/libiodbc ; then
 		IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config"
 	fi