summaryrefslogtreecommitdiffstats
path: root/libcxx/docs/BuildingLibcxx.rst
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/docs/BuildingLibcxx.rst')
-rw-r--r--libcxx/docs/BuildingLibcxx.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcxx/docs/BuildingLibcxx.rst b/libcxx/docs/BuildingLibcxx.rst
index daf9229a0d0..66cfb7b21ea 100644
--- a/libcxx/docs/BuildingLibcxx.rst
+++ b/libcxx/docs/BuildingLibcxx.rst
@@ -360,6 +360,18 @@ The following options allow building libc++ for a different ABI version.
Build the "unstable" ABI version of libc++. Includes all ABI changing features
on top of the current stable version.
+.. option:: LIBCXX_ABI_NAMESPACE:STRING
+
+ **Default**: ``__n`` where ``n`` is the current ABI version.
+
+ This option defines the name of the inline ABI versioning namespace. It can be used for building
+ custom versions of libc++ with unique symbol names in order to prevent conflicts or ODR issues
+ with other libc++ versions.
+
+ .. warning::
+ When providing a custom namespace, it's the users responsibility to ensure the name won't cause
+ conflicts with other names defined by libc++, both now and in the future.
+
.. option:: LIBCXX_ABI_DEFINES:STRING
**Default**: ``""``
OpenPOWER on IntegriCloud