1 |
commit: b0e2bf63bbc24866d54da292b9201f4ad6d2eb06 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 25 03:52:17 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 25 03:53:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e2bf63 |
7 |
|
8 |
dev-util/ccls: Pass -DCLANG_LINK_CLANG_DYLIB=1 |
9 |
|
10 |
Fixes the build with clang-10, while evidently not harming the build |
11 |
against earlier versions. |
12 |
|
13 |
Thanks to Michael Cook for the patch. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/714764 |
16 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
17 |
|
18 |
dev-util/ccls/ccls-0.20190823.6.ebuild | 1 + |
19 |
dev-util/ccls/ccls-9999.ebuild | 1 + |
20 |
2 files changed, 2 insertions(+) |
21 |
|
22 |
diff --git a/dev-util/ccls/ccls-0.20190823.6.ebuild b/dev-util/ccls/ccls-0.20190823.6.ebuild |
23 |
index d959663fa6f..ac5830184a3 100644 |
24 |
--- a/dev-util/ccls/ccls-0.20190823.6.ebuild |
25 |
+++ b/dev-util/ccls/ccls-0.20190823.6.ebuild |
26 |
@@ -35,6 +35,7 @@ RDEPEND="${DEPEND}" |
27 |
src_configure() { |
28 |
local mycmakeargs=( |
29 |
-DUSE_SYSTEM_RAPIDJSON=ON |
30 |
+ -DCLANG_LINK_CLANG_DYLIB=1 |
31 |
) |
32 |
cmake_src_configure |
33 |
} |
34 |
|
35 |
diff --git a/dev-util/ccls/ccls-9999.ebuild b/dev-util/ccls/ccls-9999.ebuild |
36 |
index d959663fa6f..ac5830184a3 100644 |
37 |
--- a/dev-util/ccls/ccls-9999.ebuild |
38 |
+++ b/dev-util/ccls/ccls-9999.ebuild |
39 |
@@ -35,6 +35,7 @@ RDEPEND="${DEPEND}" |
40 |
src_configure() { |
41 |
local mycmakeargs=( |
42 |
-DUSE_SYSTEM_RAPIDJSON=ON |
43 |
+ -DCLANG_LINK_CLANG_DYLIB=1 |
44 |
) |
45 |
cmake_src_configure |
46 |
} |