commit: dd54e99af852025f34635123dfd36127d1cf7c0b Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Mon Jun 30 15:29:04 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Tue Jul 1 04:21:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd54e99a
games-board/fruit: mark as LTO-unsafe Went proprietary in the early 2000s. Homepage is a kind soul who archived the free version, but doesn't maintain it. Closes: https://bugs.gentoo.org/941075 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> games-board/fruit/fruit-2.1-r1.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/games-board/fruit/fruit-2.1-r1.ebuild b/games-board/fruit/fruit-2.1-r1.ebuild index 8ae53cb6d99f..43bbf16c69b0 100644 --- a/games-board/fruit/fruit-2.1-r1.ebuild +++ b/games-board/fruit/fruit-2.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_P="${PN}_$(ver_rs 1- '')_linux" @@ -25,6 +25,12 @@ src_prepare() { } src_compile() { + # -Werror=odr + # https://bugs.gentoo.org/941075 + # + # Went commercial, archived by a third-party source in 2007. Nowhere to report. + filter-lto + emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}" }
