commit:     e728192cd04c5f3f6d4cf61514093436dc7c7460
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 26 03:54:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 12:27:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e728192c

games-fps/alephone: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/873298
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/alephone/alephone-20230119.ebuild | 9 +++++++--
 games-fps/alephone/alephone-99999999.ebuild | 9 +++++++--
 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 \

Reply via email to