[CMake] Drop libLTO and switch to PIE for Fuchsia toolchain
All our users have migrated to ld64.lld so we no longer need libLTO. Differential Revision: https://reviews.llvm.org/D135471
This commit is contained in:
parent
037804ddb3
commit
8d89dbceeb
|
@ -14,6 +14,7 @@ set(LLVM_ENABLE_LIBEDIT OFF CACHE BOOL "")
|
|||
set(LLVM_ENABLE_LLD ON CACHE BOOL "")
|
||||
set(LLVM_ENABLE_LTO ON CACHE BOOL "")
|
||||
set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ON CACHE BOOL "")
|
||||
set(LLVM_ENABLE_PIC OFF CACHE BOOL "")
|
||||
set(LLVM_ENABLE_PLUGINS OFF CACHE BOOL "")
|
||||
set(LLVM_ENABLE_TERMINFO OFF CACHE BOOL "")
|
||||
set(LLVM_ENABLE_UNWIND_TABLES OFF CACHE BOOL "")
|
||||
|
@ -288,7 +289,6 @@ set(LLVM_TOOLCHAIN_TOOLS
|
|||
set(LLVM_DISTRIBUTION_COMPONENTS
|
||||
clang
|
||||
lld
|
||||
LTO
|
||||
clang-apply-replacements
|
||||
clang-doc
|
||||
clang-format
|
||||
|
|
Loading…
Reference in New Issue