commit: 2e168edc0b956c00572a55d479161a000be1a2e3 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Sun Mar 17 22:24:06 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> 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 <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> 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)
