From 04ceaab8ef6b1af51bfeb8cf2ab69c5828d636ae Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sat, 20 Jul 2024 16:53:28 +0000 Subject: [PATCH] dev-libs/rccl: strip unsupported flags for potentially switched compiler Bug: https://bugs.gentoo.org/936099 Signed-off-by: Sv. Lockal Signed-off-by: Sam James --- dev-libs/rccl/rccl-6.1.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-libs/rccl/rccl-6.1.1.ebuild b/dev-libs/rccl/rccl-6.1.1.ebuild index 35783657a50db..8b583cb22096d 100644 --- a/dev-libs/rccl/rccl-6.1.1.ebuild +++ b/dev-libs/rccl/rccl-6.1.1.ebuild @@ -48,6 +48,8 @@ src_prepare() { } src_configure() { + rocm_use_hipcc + # https://github.com/llvm/llvm-project/issues/71711 - fix issue of clang append-ldflags -Wl,-z,noexecstack @@ -59,7 +61,7 @@ src_configure() { -Wno-dev ) - CXX=hipcc cmake_src_configure + cmake_src_configure } src_test() {