[all-commits] [llvm/llvm-project] a37a62: [CMake] Switch back to -fPIC for Fuchsia Toolchain

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Wed Apr 19 11:48:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a37a6218f8a029093cc439928d5cce67ccf133de
      https://github.com/llvm/llvm-project/commit/a37a6218f8a029093cc439928d5cce67ccf133de
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake

  Log Message:
  -----------
  [CMake] Switch back to -fPIC for Fuchsia Toolchain

This reverts commit 1fab236e6e4575d5af4f4722216df4dd6a872795.

Shipping LLDB means distributing libLLDB.so, which will need to be built
with PIC. Disabling PIC also removes the libLTO target, which is a hard
dependency of the LLDB test suite.

Reviewed By: abrachet

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




More information about the All-commits mailing list