commit:     71cd74c50f6b6fa79e36577642e9d681ebaa31bc
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 23:55:11 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 03:36:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71cd74c5

games-strategy/scorched3d: mark as LTO-unsafe

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

 games-strategy/scorched3d/scorched3d-44-r3.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/games-strategy/scorched3d/scorched3d-44-r3.ebuild 
b/games-strategy/scorched3d/scorched3d-44-r3.ebuild
index 526a838be935..a9bcf92633c9 100644
--- a/games-strategy/scorched3d/scorched3d-44-r3.ebuild
+++ b/games-strategy/scorched3d/scorched3d-44-r3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 WX_GTK_VER="3.2-gtk3"
-inherit autotools desktop edos2unix wxwidgets
+inherit autotools desktop edos2unix flag-o-matic wxwidgets
 
 DESCRIPTION="Multi-player tank battle in 3D (OpenGL)"
 HOMEPAGE="http://www.scorched3d.co.uk/";
@@ -69,6 +69,12 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/859265
+       # Upstream is inactive, latest activity from 9 years ago, sourceforge
+       # project. Not filing a bug.
+       filter-lto
+
        setup-wxwidgets
        econf \
                --datadir="${EPREFIX}"/usr/share/${PN} \

Reply via email to