sci-libs/hipRAND: strip unsupported flags for potentially switched compiler

Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2024-07-20 17:22:34 +00:00
committed by Sam James
parent d9cf465d94
commit 16f30d511e

View File

@@ -25,11 +25,13 @@ RDEPEND="dev-util/hip
DEPEND="${RDEPEND}"
src_configure() {
rocm_use_hipcc
local mycmakeargs=(
-DAMDGPU_TARGETS="$(get_amdgpu_flags)"
-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
-DROCM_SYMLINK_LIBS=OFF
)
CXX=hipcc cmake_src_configure
cmake_src_configure
}