summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-11-22 15:49:11 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-11-22 16:00:54 +0100
commitb91f4b53b4c47b807bb46e0c7455dc1d861e86eb (patch)
treeec2a7ca5da8fca93264241a49f1849fbb216e223 /games-strategy
parentdev-python/mkdocstrings-python: enable py3.12 (diff)
downloadgentoo-b91f4b53b4c47b807bb46e0c7455dc1d861e86eb.tar.gz
gentoo-b91f4b53b4c47b807bb46e0c7455dc1d861e86eb.tar.bz2
gentoo-b91f4b53b4c47b807bb46e0c7455dc1d861e86eb.zip
games-strategy/0ad: filter lto flag
Closes: https://bugs.gentoo.org/859244 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/0ad/0ad-0.0.26_alpha-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games-strategy/0ad/0ad-0.0.26_alpha-r1.ebuild b/games-strategy/0ad/0ad-0.0.26_alpha-r1.ebuild
index e81615d22e85..750458800c15 100644
--- a/games-strategy/0ad/0ad-0.0.26_alpha-r1.ebuild
+++ b/games-strategy/0ad/0ad-0.0.26_alpha-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
WX_GTK_VER="3.0-gtk3"
# In alpha26 bundled spidermonkey-78.6.0 does not build with python 3.11.
PYTHON_COMPAT=( python3_10 )
-inherit desktop toolchain-funcs multiprocessing python-any-r1 wxwidgets xdg
+inherit desktop flag-o-matic toolchain-funcs multiprocessing python-any-r1 wxwidgets xdg
DESCRIPTION="A free, real-time strategy game"
HOMEPAGE="https://play0ad.com/"
@@ -134,6 +134,9 @@ src_unpack() {
src_prepare() {
default
+ # https://bugs.gentoo.org/859244
+ filter-lto
+
# SpiderMonkey's configure no longer recognises --build for
# the build tuple
sed -i -e "/--build/d" libraries/source/spidermonkey/build.sh || die