[libc++abi] Remove the LIBCXXABI_ENABLE_PIC option
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 9 Jun 2021 17:04:32 +0000 (13:04 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Thu, 10 Jun 2021 16:26:31 +0000 (12:26 -0400)
commita0ae3b0789140ee9238c3052b2231ceaa777e82f
treeb4f67e3f24b23c6c1f616b61148df15420e8273f
parentc3cc14f87f78f8172b74175bbd2557cfb9384900
[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
libcxx/cmake/caches/Apple.cmake
libcxx/docs/ReleaseNotes.rst
libcxxabi/CMakeLists.txt
libcxxabi/src/CMakeLists.txt