commit: 8f2601e3633f4e5f2c0ac4a5f6fad49b70759c04 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu May 9 01:26:46 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 9 01:35:06 2024 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=8f2601e3
kde-apps/kfloppy: mark as LTO-unsafe I submitted an upstream patch to fix it, but not importing it here since it isn't merged yet. Closes: https://bugs.gentoo.org/926320 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> kde-apps/kfloppy/kfloppy-9999.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/kde-apps/kfloppy/kfloppy-9999.ebuild b/kde-apps/kfloppy/kfloppy-9999.ebuild index ffce3668c3..8536b3f3fd 100644 --- a/kde-apps/kfloppy/kfloppy-9999.ebuild +++ b/kde-apps/kfloppy/kfloppy-9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 ECM_HANDBOOK="forceoptional" KFMIN=6.0.0 QTMIN=6.6.2 -inherit ecm kde.org +inherit ecm flag-o-matic kde.org DESCRIPTION="Straightforward graphical means to format 3.5\" and 5.25\" floppy disks" HOMEPAGE="https://apps.kde.org/kfloppy/" @@ -31,3 +31,12 @@ DEPEND=" RDEPEND="${DEPEND} !${CATEGORY}/${PN}:5 " + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/926320 + # https://invent.kde.org/utilities/kfloppy/-/merge_requests/8 + filter-lto + + cmake_src_configure +}
