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@gentoo.org>
This commit is contained in:
Craig Andrews
2020-06-09 11:07:11 -04:00
parent 4254290cba
commit b9be03bb38

View File

@@ -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