From cf5b6b16f4e2a84b0a691ee2cb9a7c1942c17434 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 12 Oct 2026 23:08:30 -0400 Subject: [PATCH] net-libs/qxmpp: mark as LTO-unsafe Closes: https://bugs.gentoo.org/982113 Signed-off-by: Eli Schwartz --- net-libs/qxmpp/qxmpp-1.16.3.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net-libs/qxmpp/qxmpp-1.16.3.ebuild b/net-libs/qxmpp/qxmpp-1.16.3.ebuild index 12230d2f42e73..96991e531ca2c 100644 --- a/net-libs/qxmpp/qxmpp-1.16.3.ebuild +++ b/net-libs/qxmpp/qxmpp-1.16.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake kde.org +inherit cmake flag-o-matic kde.org DESCRIPTION="Cross-platform C++ XMPP client and server library" HOMEPAGE="https://invent.kde.org/libraries/qxmpp" @@ -34,6 +34,11 @@ DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/982113 + # https://invent.kde.org/libraries/qxmpp/-/work_items/723 + filter-lto + local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_ECM=ON # clang-format only -DBUILD_DOCUMENTATION=OFF # $(usex doc) TODO: Port to ECMGenerateQDoc