summaryrefslogtreecommitdiff
path: root/games-strategy/ja2-stracciatella/ja2-stracciatella-0.21.0.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-30 01:13:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-30 01:13:30 +0000
commitd9ec8de250ddc362ca4726cd6c055216b529177a (patch)
tree41583a3d39640bf31918130f91d9f94f0c59b9b0 /games-strategy/ja2-stracciatella/ja2-stracciatella-0.21.0.ebuild
parent62090949b4fde34bbcbb4bd770a9635c6ac0c55e (diff)
gentoo auto-resync : 30:03:2024 - 01:13:30
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.ebuild9
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