mirror of
https://github.com/MaskRay/ccls.git
synced 2025-08-22 14:42:01 +00:00
CMake command above results in .o files that are llvm function signatures incompatible with the llvm that is downloaded via pacman. The .o files have [abi::cxx11] appended to them. See https://stackoverflow.com/questions/55406770/gcc-undefined-references-with-abicxx11 regarding the solution.
parent
a5a9630a4c
commit
140b3da324
2
Build.md
2
Build.md
@ -291,7 +291,7 @@ pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-clang-tools-extra mingw64/ming
|
||||
pacman -S cmake ninja clang
|
||||
# Download ccls
|
||||
cd ccls
|
||||
cmake -S. -BRelease -G Ninja -DCMAKE_CXX_FLAGS=-D__STDC_FORMAT_MACROS
|
||||
cmake -S. -BRelease -G Ninja -DCMAKE_CXX_FLAGS='-D_GLIBCXX_USE_CXX11_ABI=0'
|
||||
ninja -C Release
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user