commit:     d0a657afc975a63be7812210b6f4c7856dd1e88e
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri May  3 03:33:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May  3 03:34:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a657af

app-office/kmymoney: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/865943
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-office/kmymoney/kmymoney-5.1.3.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-office/kmymoney/kmymoney-5.1.3.ebuild 
b/app-office/kmymoney/kmymoney-5.1.3.ebuild
index 374d9b818d94..19b20ef57a96 100644
--- a/app-office/kmymoney/kmymoney-5.1.3.ebuild
+++ b/app-office/kmymoney/kmymoney-5.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ KFMIN=5.82.0
 QTMIN=5.15.5
 VIRTUALX_REQUIRED="test"
 VIRTUALDBUS_TEST="true"
-inherit ecm kde.org optfeature
+inherit ecm flag-o-matic kde.org optfeature
 
 DESCRIPTION="Personal finance manager based on KDE Frameworks"
 HOMEPAGE="https://kmymoney.org/";
@@ -93,6 +93,11 @@ pkg_setup() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/865943
+       # https://bugs.kde.org/show_bug.cgi?id=486486
+       filter-lto
+
        local mycmakeargs=(
                -DENABLE_OFXIMPORTER=ON
                -DENABLE_WEBENGINE=ON

Reply via email to