diff options
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/CMake.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst index cbddad5746d..2c54fde4393 100644 --- a/llvm/docs/CMake.rst +++ b/llvm/docs/CMake.rst @@ -431,6 +431,11 @@ LLVM-specific variables passed to invocations of both so that the project is built using libc++ instead of stdlibc++. Defaults to OFF. +**LLVM_STATIC_LINK_CXX_STDLIB**:BOOL + Statically link to the C++ standard library if possible. This uses the flag + "-static-libstdc++", but a Clang host compiler will statically link to libc++ + if used in conjuction with the **LLVM_ENABLE_LIBCXX** flag. Defaults to OFF. + **LLVM_ENABLE_LLD**:BOOL This option is equivalent to `-DLLVM_USE_LINKER=lld`, except during a 2-stage build where a dependency is added from the first stage to the second ensuring |