Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions clang/cmake/caches/Fuchsia-stage2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unkn
set(RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")

# Enable FatLTO for Linux and baremetal runtimes
set(RUNTIMES_${target}_LLVM_ENABLE_LTO ON CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_FATLTO ON CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_LTO OFF CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_FATLTO OFF CACHE BOOL "")

# Use .build-id link.
list(APPEND RUNTIME_BUILD_ID_LINK "${target}")
Expand Down Expand Up @@ -276,8 +276,8 @@ if(FUCHSIA_SDK)
set(RUNTIMES_${target}+asan+noexcept_LIBCXX_ENABLE_EXCEPTIONS OFF CACHE BOOL "")

# Enable FatLTO for Fuchsia runtimes
set(RUNTIMES_${target}_LLVM_ENABLE_LTO ON CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_FATLTO ON CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_LTO OFF CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_FATLTO OFF CACHE BOOL "")

# Use .build-id link.
list(APPEND RUNTIME_BUILD_ID_LINK "${target}")
Expand Down Expand Up @@ -378,8 +378,8 @@ foreach(target armv6m-none-eabi;armv7m-none-eabi;armv7em-none-eabi;armv8m.main-n
set(RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES "libc;libcxx" CACHE STRING "")

# Enable FatLTO for baremetal runtimes
set(RUNTIMES_${target}_LLVM_ENABLE_LTO ON CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_FATLTO ON CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_LTO OFF CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_FATLTO OFF CACHE BOOL "")
endforeach()

foreach(target riscv32-unknown-elf)
Expand Down Expand Up @@ -433,8 +433,8 @@ foreach(target riscv32-unknown-elf)
set(RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES "libc;libcxx" CACHE STRING "")

# Enable FatLTO for baremetal runtimes
set(RUNTIMES_${target}_LLVM_ENABLE_LTO ON CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_FATLTO ON CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_LTO OFF CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_FATLTO OFF CACHE BOOL "")
endforeach()

set(LLVM_BUILTIN_TARGETS "${BUILTIN_TARGETS}" CACHE STRING "")
Expand Down