diff options
Diffstat (limited to 'games-strategy/ja2-stracciatella/ja2-stracciatella-0.21.0.ebuild')
-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 |