From f3be399ec01f955718339506c67e7b0224045017 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 20 Sep 2024 23:08:20 +0100 Subject: [PATCH] kde-frameworks/ktexttemplate: workaround GCC bug for arm64 Bug: https://gcc.gnu.org/PR116783 Signed-off-by: Sam James --- 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 94ae7c60d11..12b40725194 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 +}