commit: b9be03bb38b40eacec8e191e928057e7ac35fdce Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Tue Jun 9 15:07:11 2020 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Tue Jun 9 15:07:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9be03bb
dev-libs/rocm-opencl-runtime: Add -fcommon workaround Bug: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/120 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.5.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) 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 b0fa0e30b92..40557c217c1 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
