From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 2CC3F158041 for ; Mon, 18 Mar 2024 05:31:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D180EE29AB; Mon, 18 Mar 2024 05:31:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B5E81E29B1 for ; Mon, 18 Mar 2024 05:31:37 +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 9EDF0343010 for ; Mon, 18 Mar 2024 05:31:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E04671556 for ; Mon, 18 Mar 2024 05:31:34 +0000 (UTC) From: "Sam James" 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" Message-ID: <1710739789.2e168edc0b956c00572a55d479161a000be1a2e3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/wit/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/wit/wit-3.02a.ebuild X-VCS-Directories: games-util/wit/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2e168edc0b956c00572a55d479161a000be1a2e3 X-VCS-Branch: master Date: Mon, 18 Mar 2024 05:31:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c018a7c-8b69-48f9-8848-bec12768457a X-Archives-Hash: 9cb09aab7d87acfb425f719e147b73bc commit: 2e168edc0b956c00572a55d479161a000be1a2e3 Author: Eli Schwartz gmail com> AuthorDate: Sun Mar 17 22:24:06 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 18 05:29:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e168edc games-util/wit: mark as LTO-unsafe The build system already marks itself as strict-aliasing unsafe. Closes: https://bugs.gentoo.org/859319 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> games-util/wit/wit-3.02a.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/games-util/wit/wit-3.02a.ebuild b/games-util/wit/wit-3.02a.ebuild index 95c5351036aa..aaeaa614fd02 100644 --- a/games-util/wit/wit-3.02a.ebuild +++ b/games-util/wit/wit-3.02a.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_P="wiimms-iso-tools.source-${PV}" @@ -32,6 +32,13 @@ PATCHES=( ) src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/859319 + # + # After investigation, the build system also uses -fno-strict-aliasing + # so do not trust it with LTO either, even if the type-mismatch gets fixed. + filter-lto + export NO_FUSE=$(usex fuse 0 1) export NO_ZLIB=$(usex zlib 0 1)