From b34a8017a0faa59faac8d19621c7e9ff1fb9402e Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 4 Mar 2024 05:01:39 +0000 Subject: games-emulation/dolphin: filter LTO with USE=gui Interaction between Qt and LTO. Bug: https://bugs.dolphin-emu.org/issues/11481 Bug: https://bugreports.qt.io/browse/QTBUG-61710 Closes: https://bugs.gentoo.org/891225 Signed-off-by: Sam James --- games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild | 7 +++++-- games-emulation/dolphin/dolphin-9999.ebuild | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild b/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild index af6e7afd45e0..c1f43ed2cbd5 100644 --- a/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild +++ b/games-emulation/dolphin/dolphin-5.0_p20220520-r2.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=7 -inherit cmake desktop xdg-utils pax-utils +inherit cmake desktop flag-o-matic xdg-utils pax-utils if [[ ${PV} == *9999 ]] then @@ -153,6 +153,9 @@ src_prepare() { } src_configure() { + # bug #891225 (https://bugs.dolphin-emu.org/issues/11481, QTBUG-61710) + use gui && filter-lto + local mycmakeargs=( # Use ccache only when user did set FEATURES=ccache (or similar) # not when ccache binary is present in system (automagic). diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild index 690c3afb5517..25bf321c0c70 100644 --- a/games-emulation/dolphin/dolphin-9999.ebuild +++ b/games-emulation/dolphin/dolphin-9999.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=7 -inherit cmake desktop xdg-utils pax-utils +inherit cmake desktop flag-o-matic xdg-utils pax-utils if [[ ${PV} == *9999 ]] then @@ -151,6 +151,9 @@ src_prepare() { } src_configure() { + # bug #891225 (https://bugs.dolphin-emu.org/issues/11481, QTBUG-61710) + use gui && filter-lto + local mycmakeargs=( # Use ccache only when user did set FEATURES=ccache (or similar) # not when ccache binary is present in system (automagic). -- cgit v1.2.3-65-gdbad