mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 10:31:56 +00:00
Build: add -DUSE_SHARED_LLVM=on to Arch Linux
parent
aa86353e97
commit
f258a9ca6e
5
Build.md
5
Build.md
@ -132,7 +132,10 @@ To install pre-built **ccls**, use
|
|||||||
[aur/ccls-git](https://aur.archlinux.org/packages/ccls-git).
|
[aur/ccls-git](https://aur.archlinux.org/packages/ccls-git).
|
||||||
|
|
||||||
To build **ccls** on Arch Linux with system Clang+LLVM, you will need to add
|
To build **ccls** on Arch Linux with system Clang+LLVM, you will need to add
|
||||||
`-DLLVM_ENABLE_RTTI=on`.
|
`-DLLVM_ENABLE_RTTI=on -DUSE_SHARED_LLVM=on`.
|
||||||
|
|
||||||
|
`extra/clang` and `extra/llvm` provide `/usr/lib/{libclangAST.so,libLLVM*.a,libLLVM.so}`.
|
||||||
|
`libclangAST.so` needs `libLLVM.so` and there would be a conflict if `libLLVM*.a` (instead of `libLLVM.so`) are linked. See https://bugs.archlinux.org/task/60512
|
||||||
|
|
||||||
### Gentoo Linux
|
### Gentoo Linux
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user