summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \