diff --git a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.5.0.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.5.0.ebuild index b0fa0e30b921b..40557c217c176 100644 --- a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.5.0.ebuild +++ b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.5.0.ebuild @@ -48,6 +48,9 @@ src_prepare() { } src_configure() { + # Reported upstream: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/120 + append-cflags -fcommon + local mycmakeargs=( -DUSE_COMGR_LIBRARY=yes -DROCclr_DIR=/usr/include/rocclr