From 8b035ee2a03df85e58a5b61d318ecd99bde83e89 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 11 Mar 2024 21:45:36 -0400 Subject: games-sports/foobillard: mark as LTO-unsafe Closes: https://bugs.gentoo.org/859235 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- games-sports/foobillard/foobillard-3.0a-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'games-sports') diff --git a/games-sports/foobillard/foobillard-3.0a-r1.ebuild b/games-sports/foobillard/foobillard-3.0a-r1.ebuild index ad8a7bd2411d..3cb4c991c6c5 100644 --- a/games-sports/foobillard/foobillard-3.0a-r1.ebuild +++ b/games-sports/foobillard/foobillard-3.0a-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -46,6 +46,12 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/859235 + # + # Upstream is sourceforge, and dead since 2010. Not reported upstream. + filter-lto + use video_cards_nvidia && append-ldflags -L/usr/$(get_libdir)/opengl/nvidia/lib econf \ --enable-sound \ -- cgit v1.2.3-65-gdbad