[all-commits] [llvm/llvm-project] cc2596: [libcxx][libcxxabi][libunwind] Use libgcc on Android

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Thu Apr 30 15:43:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cc259638cb41bb4c80e98a00e61387a5ff5ca490
      https://github.com/llvm/llvm-project/commit/cc259638cb41bb4c80e98a00e61387a5ff5ca490
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/cmake/config-ix.cmake
    M libcxxabi/cmake/config-ix.cmake
    M libunwind/cmake/config-ix.cmake

  Log Message:
  -----------
  [libcxx][libcxxabi][libunwind] Use libgcc on Android

Android doesn't have a libgcc_s and uses libgcc instead, so adjust the
build accordingly. This matches compiler-rt's build setup. libc++abi and
libunwind were already checking for libgcc but in a different context.
This change makes them search only for libgcc on Android now, but the
code to link against libgcc if it were present was already there.

Reviewed By: #libc, #libc_abi, #libunwind, rprichard, srhines

Differential Revision: https://reviews.llvm.org/D78787




More information about the All-commits mailing list