commit:     d76a2cff990028e249d92d195f002174df3f58d3
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Feb 28 21:48:25 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 22:57:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76a2cff

dev-python/shiboken6: mark as LTO-unsafe

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

 dev-python/shiboken6/shiboken6-6.6.2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.6.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.6.2.ebuild
index 428293079631..4187835e2818 100644
--- a/dev-python/shiboken6/shiboken6-6.6.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.6.2.ebuild
@@ -16,7 +16,7 @@ PYTHON_COMPAT=( python3_{10..12} )
 
 LLVM_COMPAT=( {15..17} )
 
-inherit cmake llvm-r1 python-r1 toolchain-funcs
+inherit cmake flag-o-matic llvm-r1 python-r1 toolchain-funcs
 
 MY_PN="pyside-setup-everywhere-src"
 
@@ -109,6 +109,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/925479
+       # https://bugreports.qt.io/browse/PYSIDE-2619
+       filter-lto
+
        # Minimal tests for now, 2 failing with the extended version
        # FIXME Subscripted generics cannot be used with class and instance 
checks
        local mycmakeargs=(

Reply via email to