summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-25 23:54:27 -0400
committerSam James <sam@gentoo.org>2024-03-26 12:27:32 +0000
commite728192cd04c5f3f6d4cf61514093436dc7c7460 (patch)
tree33d8eb98e132b68040540197e6e48ea32fbe9ba2 /games-fps
parentmedia-libs/sdl2-net: make sure elibtoolize is applied (diff)
downloadgentoo-e728192cd04c5f3f6d4cf61514093436dc7c7460.tar.gz
gentoo-e728192cd04c5f3f6d4cf61514093436dc7c7460.tar.bz2
gentoo-e728192cd04c5f3f6d4cf61514093436dc7c7460.zip
games-fps/alephone: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/873298 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/alephone/alephone-20230119.ebuild9
-rw-r--r--games-fps/alephone/alephone-99999999.ebuild9
2 files changed, 14 insertions, 4 deletions
diff --git a/games-fps/alephone/alephone-20230119.ebuild b/games-fps/alephone/alephone-20230119.ebuild
index 67bf15ff6d89..895dc7325c50 100644
--- a/games-fps/alephone/alephone-20230119.ebuild
+++ b/games-fps/alephone/alephone-20230119.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools optfeature prefix toolchain-funcs xdg
+inherit autotools flag-o-matic optfeature prefix toolchain-funcs xdg
DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon"
HOMEPAGE="https://alephone.lhowon.org/"
@@ -65,6 +65,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/873298
+ # https://github.com/Aleph-One-Marathon/alephone/issues/475
+ filter-lto
+
econf \
--enable-lua \
--enable-opengl \
diff --git a/games-fps/alephone/alephone-99999999.ebuild b/games-fps/alephone/alephone-99999999.ebuild
index 15a4810f346c..9a32dc2729ec 100644
--- a/games-fps/alephone/alephone-99999999.ebuild
+++ b/games-fps/alephone/alephone-99999999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools optfeature prefix toolchain-funcs xdg
+inherit autotools flag-o-matic optfeature prefix toolchain-funcs xdg
DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon"
HOMEPAGE="https://alephone.lhowon.org/"
@@ -63,6 +63,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/873298
+ # https://github.com/Aleph-One-Marathon/alephone/issues/475
+ filter-lto
+
econf \
--enable-lua \
--enable-opengl \