From 42a3463c6911b303968a3cca4f749dcdaab6416f Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 19 Aug 2019 02:15:48 -0700 Subject: [PATCH] Build: delete CLANG_USE_BUNDLED_LIBC++ --- Build.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/Build.md b/Build.md index 6a961d3..a2e8f53 100644 --- a/Build.md +++ b/Build.md @@ -72,15 +72,6 @@ for your system, as well as methods of obtaining and locating Clang+LLVM. Set the install location. See [[Install]] for more details. -* `-DCLANG_USE_BUNDLED_LIBC++=(ON|OFF)` - - Default: **OFF** - - Clang provides libc++ libraries. This option forces **ccls** to link with - these libraries. This can be used on FreeBSD, but likely won't work on - Linux due to conflict of libstdc++ (linked by clang+llvm libraries) and - libc++. - * `-DCMAKE_PREFIX_PATH=` Specify paths where CMake can locate Clang/LLVM headers and libraries. @@ -216,9 +207,8 @@ See https://github.com/MaskRay/ccls/issues/191#issuecomment-453809905 for detail ### FreeBSD * [devel/ccls](https://www.freshports.org/devel/ccls) -* With `devel/llvm70` add CMake flags `-DCMAKE_PREFIX_PATH=/usr/local/llvm70` -* To use the releases.llvm.org prebuilt archive and its libc++ add CMake flag - `-DCLANG_USE_BUNDLED_LIBC++=on` +* With `devel/llvm80` add CMake flags `-DCMAKE_PREFIX_PATH=/usr/local/llvm80` +* Use the releases.llvm.org prebuilt archive. ### GuixSD (0.16)