mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -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() {
|
src_configure() {
|
||||||
|
# Reported upstream: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/120
|
||||||
|
append-cflags -fcommon
|
||||||
|
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DUSE_COMGR_LIBRARY=yes
|
-DUSE_COMGR_LIBRARY=yes
|
||||||
-DROCclr_DIR=/usr/include/rocclr
|
-DROCclr_DIR=/usr/include/rocclr
|
||||||
|
|||||||
Reference in New Issue
Block a user