[clang] 17f4e1d - Revert "[CMake] Drop libLTO and switch to PIE for Fuchsia toolchain"
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 21 12:49:46 PDT 2022
Author: Petr Hosek
Date: 2022-10-21T19:49:19Z
New Revision: 17f4e1d27fbeea94234408814f0497f9ca45b61b
URL: https://github.com/llvm/llvm-project/commit/17f4e1d27fbeea94234408814f0497f9ca45b61b
DIFF: https://github.com/llvm/llvm-project/commit/17f4e1d27fbeea94234408814f0497f9ca45b61b.diff
LOG: Revert "[CMake] Drop libLTO and switch to PIE for Fuchsia toolchain"
This reverts commit 8d89dbceeb576171efd12a5657c038a2ec2e54a5 since
this broke the compiler-rt build.
Added:
Modified:
clang/cmake/caches/Fuchsia-stage2.cmake
Removed:
################################################################################
diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake
index e94dd3be29821..7a09e4798309e 100644
--- a/clang/cmake/caches/Fuchsia-stage2.cmake
+++ b/clang/cmake/caches/Fuchsia-stage2.cmake
@@ -14,7 +14,6 @@ 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 "")
@@ -289,6 +288,7 @@ set(LLVM_TOOLCHAIN_TOOLS
set(LLVM_DISTRIBUTION_COMPONENTS
clang
lld
+ LTO
clang-apply-replacements
clang-doc
clang-format
More information about the cfe-commits
mailing list