summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-08-01 17:30:21 +0000
committerErich Keane <erich.keane@intel.com>2019-08-01 17:30:21 +0000
commit1328cd0e3752a7c823310bebecd67e99d9cea90f (patch)
tree9496bc915d9d604085879336c743874d38855727
parent2eceddfb3c4388a5349545000187799e80a2aea9 (diff)
downloadbcm5719-llvm-1328cd0e3752a7c823310bebecd67e99d9cea90f.tar.gz
bcm5719-llvm-1328cd0e3752a7c823310bebecd67e99d9cea90f.zip
Document LLVM_ENABLE_LIBCXX in CMake.rst
llvm-svn: 367584
-rw-r--r--llvm/docs/CMake.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 2631792af15..15ca6803439 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -426,6 +426,11 @@ LLVM-specific variables
search. For example to link LLVM with the Gold linker, cmake can be invoked
with ``-DLLVM_USE_LINKER=gold``.
+**LLVM_ENABLE_LIBCXX**:BOOL
+ If the host compiler and linker supports the stdlib flag, -stdlib=libc++ is
+ passed to invocations of both so that the project is built using libc++
+ instead of stdlibc++. 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
OpenPOWER on IntegriCloud