commit: 67844df4e913ad9fbe9c4070953e100c9b2def9c Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Wed Aug 13 01:57:01 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Thu Aug 14 05:02:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67844df4
games-emulation/fceux: mark as LTO-unsafe Closes: https://bugs.gentoo.org/959771 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> games-emulation/fceux/fceux-2.6.6-r2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/games-emulation/fceux/fceux-2.6.6-r2.ebuild b/games-emulation/fceux/fceux-2.6.6-r2.ebuild index 881a675d1088..485223d1e7be 100644 --- a/games-emulation/fceux/fceux-2.6.6-r2.ebuild +++ b/games-emulation/fceux/fceux-2.6.6-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 LUA_COMPAT=( lua5-1 luajit ) -inherit cmake lua-single xdg +inherit cmake flag-o-matic lua-single xdg DESCRIPTION="Portable Famicom/NES emulator, an evolution of the original FCE Ultra" HOMEPAGE="https://fceux.com/" @@ -56,6 +56,13 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/959771 + # https://github.com/TASEmulators/fceux/commit/e2ac013cbb12350bd21fefdbe5a6aa251e171fe8 + # + # Fixed after 2.6.6 -- retest on next version bump and remove. + filter-lto + local mycmakeargs=( -DGLVND=yes -DPUBLIC_RELEASE=yes
