diff options
Diffstat (limited to 'dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.4.3-r1.ebuild')
-rw-r--r-- | dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.4.3-r1.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.4.3-r1.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.4.3-r1.ebuild index 8dd67252e8b4..fea24ac7dafc 100644 --- a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.4.3-r1.ebuild +++ b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.4.3-r1.ebuild @@ -53,6 +53,9 @@ if [[ ${PV} == "9999" ]]; then fi } src_prepare() { + # Fix ld.lld linker error: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/155 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + cmake_src_prepare pushd ${CLR_S} || die |