From b9be03bb38b40eacec8e191e928057e7ac35fdce Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 9 Jun 2020 11:07:11 -0400 Subject: 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 --- dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.5.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dev-libs/rocm-opencl-runtime') 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 b0fa0e30b921..40557c217c17 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 -- cgit v1.2.3-65-gdbad