commit:     a5be289fa41d39fa4c701af360e2df9ba0d435c9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 02:42:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 02:43:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5be289f

kde-apps/spectacle: filter LTO, no-sa

Arsen's reported it upstream by commenting on the MR.

Bug: https://bugs.gentoo.org/932501
Signed-off-by: Sam James <sam <AT> gentoo.org>

 kde-apps/spectacle/spectacle-24.05.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/kde-apps/spectacle/spectacle-24.05.1.ebuild 
b/kde-apps/spectacle/spectacle-24.05.1.ebuild
index e54879ba6772..155fe12756b7 100644
--- a/kde-apps/spectacle/spectacle-24.05.1.ebuild
+++ b/kde-apps/spectacle/spectacle-24.05.1.ebuild
@@ -8,7 +8,7 @@ ECM_TEST="forceoptional"
 PVCUT=$(ver_cut 1-3)
 KFMIN=6.3.0
 QTMIN=6.6.2
-inherit ecm gear.kde.org
+inherit ecm flag-o-matic gear.kde.org
 
 DESCRIPTION="Screenshot capture utility"
 HOMEPAGE="https://apps.kde.org/spectacle/";
@@ -62,6 +62,10 @@ BDEPEND="
 "
 
 src_configure() {
+       # bug #932501
+       filter-lto
+       append-flags -fno-strict-aliasing
+
        local mycmakeargs=(
                $(cmake_use_find_package share KF6Purpose)
        )

Reply via email to