commit:     1335d04368c7653fdaecbdab19e50a6ae4a4c8f4
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 17:02:38 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 17:16:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1335d043

dev-games/godot: mark as LTO unsafe for now

Would rather not have to worry about this, esp when generated
bits are involved. May reconsider eventually.

Closes: https://bugs.gentoo.org/921017
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-games/godot/godot-4.2.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-games/godot/godot-4.2.1.ebuild 
b/dev-games/godot/godot-4.2.1.ebuild
index 448e6f0f2dad..e3e0408382ba 100644
--- a/dev-games/godot/godot-4.2.1.ebuild
+++ b/dev-games/godot/godot-4.2.1.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit desktop python-any-r1 scons-utils shell-completion toolchain-funcs xdg
+inherit desktop python-any-r1 flag-o-matic scons-utils
+inherit shell-completion toolchain-funcs xdg
 
 DESCRIPTION="Multi-platform 2D and 3D game engine with a feature-rich editor"
 HOMEPAGE="https://godotengine.org/";
@@ -110,6 +111,8 @@ src_prepare() {
 src_compile() {
        local -x BUILD_NAME=gentoo # replaces "custom_build" in version string
 
+       filter-lto #921017
+
        local esconsargs=(
                AR="$(tc-getAR)" CC="$(tc-getCC)" CXX="$(tc-getCXX)"
 
@@ -173,7 +176,7 @@ src_compile() {
                module_upnp_enabled=$(usex upnp)
                module_webp_enabled=$(usex webp)
 
-               # let *FLAGS handle these, e.g. can pass -flto as-is
+               # let *FLAGS handle these
                debug_symbols=no
                lto=none
                optimize=custom

Reply via email to