[all-commits] [llvm/llvm-project] a0ae3b: [libc++abi] Remove the LIBCXXABI_ENABLE_PIC option

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Jun 10 09:27:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0ae3b0789140ee9238c3052b2231ceaa777e82f
      https://github.com/llvm/llvm-project/commit/a0ae3b0789140ee9238c3052b2231ceaa777e82f
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M libcxx/cmake/caches/Apple.cmake
    M libcxx/docs/ReleaseNotes.rst
    M libcxxabi/CMakeLists.txt
    M libcxxabi/src/CMakeLists.txt

  Log Message:
  -----------
  [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




More information about the All-commits mailing list