commit:     b0e2bf63bbc24866d54da292b9201f4ad6d2eb06
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 25 03:52:17 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Apr 25 03:53:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e2bf63

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 <mattst88 <AT> gentoo.org>

 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 d959663fa6f..ac5830184a3 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 d959663fa6f..ac5830184a3 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
 }

Reply via email to