From b0e2bf63bbc24866d54da292b9201f4ad6d2eb06 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 24 Apr 2020 20:52:17 -0700 Subject: [PATCH] dev-util/ccls: Pass -DCLANG_LINK_CLANG_DYLIB=1 Fixes the build with clang-10, while evidently not harming the build against earlier versions. Thanks to Michael Cook for the patch. Closes: https://bugs.gentoo.org/714764 Signed-off-by: Matt Turner --- dev-util/ccls/ccls-0.20190823.6.ebuild | 1 + dev-util/ccls/ccls-9999.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/dev-util/ccls/ccls-0.20190823.6.ebuild b/dev-util/ccls/ccls-0.20190823.6.ebuild index d959663fa6f0..ac5830184a31 100644 --- a/dev-util/ccls/ccls-0.20190823.6.ebuild +++ b/dev-util/ccls/ccls-0.20190823.6.ebuild @@ -35,6 +35,7 @@ RDEPEND="${DEPEND}" src_configure() { local mycmakeargs=( -DUSE_SYSTEM_RAPIDJSON=ON + -DCLANG_LINK_CLANG_DYLIB=1 ) cmake_src_configure } diff --git a/dev-util/ccls/ccls-9999.ebuild b/dev-util/ccls/ccls-9999.ebuild index d959663fa6f0..ac5830184a31 100644 --- a/dev-util/ccls/ccls-9999.ebuild +++ b/dev-util/ccls/ccls-9999.ebuild @@ -35,6 +35,7 @@ RDEPEND="${DEPEND}" src_configure() { local mycmakeargs=( -DUSE_SYSTEM_RAPIDJSON=ON + -DCLANG_LINK_CLANG_DYLIB=1 ) cmake_src_configure } -- 2.26.2