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.

sbroberg 2025-06-16 17:29:35 -04:00
parent a5a9630a4c
commit 140b3da324

@ -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 pacman -S cmake ninja clang
# Download ccls # Download ccls
cd 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 ninja -C Release
``` ```