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@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz 2024-03-25 00:35:23 -04:00 committed by Sam James
parent e5cea88009
commit 0012503b0d
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
1 changed files with 10 additions and 2 deletions

View File

@ -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)