From 140b3da3246eba31d3e8546b444e2f97503ef967 Mon Sep 17 00:00:00 2001 From: sbroberg Date: Mon, 16 Jun 2025 17:29:35 -0400 Subject: [PATCH] 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. --- Build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.md b/Build.md index 1bc2e3c..b30fe64 100644 --- a/Build.md +++ b/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 ```