sci-misc/stable-diffusion-cpp: restore rocm_use_hipcc

rocm_use_hipcc strips the unsupported cflags when calling hipcc, such as
-flto.

Refs: https://bugs.gentoo.org/983114
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org>
This commit is contained in:
Gilles Dartiguelongue committed 2026-09-23 20:01:08 +02:00
1 parent 7484d883bd
commit e62800737c
1 file changed
+1 -1
@@ -183,7 +183,7 @@ src_configure() {
fi
if use rocm; then
export HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -p)"
rocm_use_hipcc
mycmakeargs+=(
-DSD_HIPBLAS=ON
-DGPU_TARGETS=$(get_amdgpu_flags)