games-strategy/megaglest: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/926143
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz 2024-03-21 22:36:54 -04:00 committed by Sam James
parent 953d07d1cb
commit 7cb6fe35cf
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
1 changed files with 6 additions and 1 deletions

View File

@ -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