mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user