commit: 7cb6fe35cfba26df82753ba440d657a2e6676a85 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Fri Mar 22 02:36:54 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 22 05:31:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb6fe35
games-strategy/megaglest: mark as LTO-unsafe Closes: https://bugs.gentoo.org/926143 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> games-strategy/megaglest/megaglest-3.13.0-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild b/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild index cc03ed6ad423..26f172483f1e 100644 --- a/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild +++ b/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild @@ -14,7 +14,7 @@ LUA_COMPAT=( lua5-{1..4} ) VIRTUALX_REQUIRED="manual" WX_GTK_VER="3.0-gtk3" -inherit cmake desktop lua-single readme.gentoo-r1 virtualx wxwidgets xdg-utils +inherit cmake desktop flag-o-matic lua-single readme.gentoo-r1 virtualx wxwidgets xdg-utils DESCRIPTION="Cross-platform 3D realtime strategy game" HOMEPAGE="https://megaglest.org/ https://github.com/MegaGlest/megaglest-source" @@ -108,6 +108,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/926143 + # https://github.com/MegaGlest/megaglest-source/issues/275 + filter-lto + if use cpu_flags_x86_sse3; then SSE=3 elif use cpu_flags_x86_sse2; then
