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

Closes: https://bugs.gentoo.org/892760
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42608
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal 2025-06-15 11:39:50 +00:00 committed by Sam James
parent 4dac00f35c
commit 940971dd00
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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)"