HomePhabricator

[libc++abi] Remove the LIBCXXABI_ENABLE_PIC option

Authored by ldionne on Jun 9 2021, 10:04 AM.

Description

[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