commit:     0012503b0da5ab81ce03243d03f4a14767ac76c4
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 25 04:35:23 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 09:20:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0012503b

games-fps/doomsday: mark as LTO-unsafe

Currently working on reporting an upstream bug. Four different websites
including sourceforge and github but the only place for submitting bugs
is a self-hosted redmine that has disabled registration.

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

 games-fps/doomsday/doomsday-2.3.1.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/games-fps/doomsday/doomsday-2.3.1.ebuild 
b/games-fps/doomsday/doomsday-2.3.1.ebuild
index e47741325506..26cd12c34b90 100644
--- a/games-fps/doomsday/doomsday-2.3.1.ebuild
+++ b/games-fps/doomsday/doomsday-2.3.1.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
 
 PYTHON_COMPAT=( python3_{9..10} )
-inherit cmake python-any-r1 qmake-utils readme.gentoo-r1 xdg
+inherit cmake flag-o-matic python-any-r1 qmake-utils readme.gentoo-r1 xdg
 
 DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
 HOMEPAGE="https://www.dengine.net";
@@ -55,6 +55,14 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr, -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/858743
+       #
+       # Currently working on reporting an upstream bug. Four different 
websites
+       # including sourceforge and github but the only place for submitting 
bugs
+       # is a self-hosted redmine that has disabled registration.
+       filter-lto
+
        local mycmakeargs=(
                -DDENG_ASSIMP_EMBEDDED=OFF
                -DDENG_ENABLE_DISPLAYMODE=$(usex display-mode)

Reply via email to