Build: delete CLANG_USE_BUNDLED_LIBC++

Fangrui Song 2019-08-19 02:15:48 -07:00
parent 4c6326a762
commit 42a3463c69

@ -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. 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=<path>` * `-DCMAKE_PREFIX_PATH=<path>`
Specify paths where CMake can locate Clang/LLVM headers and libraries. 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 ### FreeBSD
* [devel/ccls](https://www.freshports.org/devel/ccls) * [devel/ccls](https://www.freshports.org/devel/ccls)
* With `devel/llvm70` add CMake flags `-DCMAKE_PREFIX_PATH=/usr/local/llvm70` * With `devel/llvm80` add CMake flags `-DCMAKE_PREFIX_PATH=/usr/local/llvm80`
* To use the releases.llvm.org prebuilt archive and its libc++ add CMake flag * Use the releases.llvm.org prebuilt archive.
`-DCLANG_USE_BUNDLED_LIBC++=on`
### GuixSD (0.16) ### GuixSD (0.16)