diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-21 22:36:54 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-22 05:31:53 +0000 |
commit | 7cb6fe35cfba26df82753ba440d657a2e6676a85 (patch) | |
tree | 2a74e003f3e70e2c5728af89642f9d86a6bb475d /games-strategy | |
parent | games-strategy/megaglest: drop the data files to a runtime-only dep (diff) | |
download | gentoo-7cb6fe35cfba26df82753ba440d657a2e6676a85.tar.gz gentoo-7cb6fe35cfba26df82753ba440d657a2e6676a85.tar.bz2 gentoo-7cb6fe35cfba26df82753ba440d657a2e6676a85.zip |
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>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/megaglest/megaglest-3.13.0-r1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
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 |