diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-29 11:32:28 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-29 18:45:16 +0000 |
commit | aaaf2b02085fe368746241561c29050eca562882 (patch) | |
tree | a61ab60a56aad4a4ee72f22049391cb28e5ac47f /games-strategy | |
parent | dev-lang/lua: make sure elibtoolize is applied (diff) | |
download | gentoo-aaaf2b02085fe368746241561c29050eca562882.tar.gz gentoo-aaaf2b02085fe368746241561c29050eca562882.tar.bz2 gentoo-aaaf2b02085fe368746241561c29050eca562882.zip |
games-strategy/ja2-stracciatella: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/916965
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/ja2-stracciatella/ja2-stracciatella-0.21.0.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/games-strategy/ja2-stracciatella/ja2-stracciatella-0.21.0.ebuild b/games-strategy/ja2-stracciatella/ja2-stracciatella-0.21.0.ebuild index c3eefb3961b1..52c5e077966c 100644 --- a/games-strategy/ja2-stracciatella/ja2-stracciatella-0.21.0.ebuild +++ b/games-strategy/ja2-stracciatella/ja2-stracciatella-0.21.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -163,7 +163,7 @@ windows_x86_64_msvc@0.42.1 # See dependencies/lib-lua/CMakeLists.txt LUA_COMPAT=( lua5-3 ) -inherit cargo cmake lua-single xdg +inherit cargo cmake flag-o-matic lua-single xdg DESCRIPTION="An improved, cross-platform, stable Jagged Alliance 2 runtime" HOMEPAGE="https://github.com/ja2-stracciatella/" @@ -207,6 +207,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/916965 + # https://github.com/ja2-stracciatella/ja2-stracciatella/issues/1963 + filter-lto + local mycmakeargs=( -DUSE_SCCACHE=OFF |