[libc++abi] Remove the LIBCXXABI_ENABLE_PIC option
Instead, people should be using CMAKE_POSITION_INDEPENDENT_CODE to control
whether they want to use PIC or not. We should try to avoid reinventing
the wheel whenever CMake natively supports something.
This makes libc++abi consistent with libc++ and libunwind.
Differential Revision: https://reviews.llvm.org/D103973
NOKEYCHECK=True
GitOrigin-RevId: a0ae3b0789140ee9238c3052b2231ceaa777e82f
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 0cc8c00..bda3c64 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -65,3 +65,7 @@
While this is technically both an API and an ABI break, we do not expect
``std::pointer_safety`` to have been used at all in real code, since we
never implemented the underlying support for garbage collection.
+
+- The `LIBCXXABI_ENABLE_PIC` CMake option was removed. If you are building your
+ own libc++abi from source and were using `LIBCXXABI_ENABLE_PIC`, please use
+ `CMAKE_POSITION_INDEPENDENT_CODE=ON` instead.