commit:     940971dd00e09c2f186bace50eaa284abfa58dd0
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Jun 15 11:39:50 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 16:10:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=940971dd

dev-libs/roct-thunk-interface: disable lto for tests

Closes: https://bugs.gentoo.org/892760
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42608
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild 
b/dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild
index b4d7f2f1f1bf..c4fbb7321615 100644
--- a/dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild
+++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-6.3.3.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( 19 )
 ROCM_SKIP_GLOBALS=1
-inherit cmake linux-info llvm-r1 rocm
+inherit cmake flag-o-matic linux-info llvm-r1 rocm
 
 if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="https://github.com/ROCm/ROCR-Runtime/";
@@ -69,6 +69,9 @@ src_configure() {
        cmake_src_configure
 
        if use test; then
+               # ODR violations (bug #956958)
+               filter-lto
+
                export LIBHSAKMT_PATH="${BUILD_DIR}"
                local mycmakeargs=(
                        -DLLVM_DIR="$(get_llvm_prefix)"

Reply via email to