summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-06-09 11:07:11 -0400
committerCraig Andrews <candrews@gentoo.org>2020-06-09 11:07:11 -0400
commitb9be03bb38b40eacec8e191e928057e7ac35fdce (patch)
tree773a0502e505a31e7b001954f09dfc83d7b3fc30 /dev-libs/rocm-opencl-runtime
parentnet-libs/gnutls: security cleanup (diff)
downloadgentoo-b9be03bb38b40eacec8e191e928057e7ac35fdce.tar.gz
gentoo-b9be03bb38b40eacec8e191e928057e7ac35fdce.tar.bz2
gentoo-b9be03bb38b40eacec8e191e928057e7ac35fdce.zip
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>
Diffstat (limited to 'dev-libs/rocm-opencl-runtime')
-rw-r--r--dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-3.5.0.ebuild3
1 files changed, 3 insertions, 0 deletions
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