commit:     f3be399ec01f955718339506c67e7b0224045017
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 22:08:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 22:10:03 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=f3be399e

kde-frameworks/ktexttemplate: workaround GCC bug for arm64

Bug: https://gcc.gnu.org/PR116783
Signed-off-by: Sam James <sam <AT> gentoo.org>

 kde-frameworks/ktexttemplate/ktexttemplate-9999.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/ktexttemplate/ktexttemplate-9999.ebuild 
b/kde-frameworks/ktexttemplate/ktexttemplate-9999.ebuild
index 94ae7c60d1..12b4072519 100644
--- a/kde-frameworks/ktexttemplate/ktexttemplate-9999.ebuild
+++ b/kde-frameworks/ktexttemplate/ktexttemplate-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 ECM_TEST="true"
 PVCUT=$(ver_cut 1-2)
 QTMIN=6.6.2
-inherit ecm frameworks.kde.org
+inherit ecm flag-o-matic frameworks.kde.org
 
 DESCRIPTION="Library to allow separating the structure of documents from data 
they contain"
 
@@ -20,3 +20,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="test? ( dev-qt/qttools:6[linguist] )"
+
+src_configure() {
+       # https://gcc.gnu.org/PR116783
+       use arm64 && append-flags $(test-flags-CXX -mno-late-ldp-fusion)
+
+       ecm_src_configure
+}

Reply via email to