@@ -14,7 +14,6 @@ set(LLVM_ENABLE_LIBEDIT OFF CACHE BOOL "")
14
14
set (LLVM_ENABLE_LLD ON CACHE BOOL "" )
15
15
set (LLVM_ENABLE_LTO ON CACHE BOOL "" )
16
16
set (LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ON CACHE BOOL "" )
17
- set (LLVM_ENABLE_PIC OFF CACHE BOOL "" )
18
17
set (LLVM_ENABLE_PLUGINS OFF CACHE BOOL "" )
19
18
set (LLVM_ENABLE_TERMINFO OFF CACHE BOOL "" )
20
19
set (LLVM_ENABLE_UNWIND_TABLES OFF CACHE BOOL "" )
@@ -93,7 +92,6 @@ foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unkn
93
92
list (APPEND BUILTIN_TARGETS "${target} " )
94
93
set (BUILTINS_${target}_CMAKE_SYSTEM_NAME Linux CACHE STRING "" )
95
94
set (BUILTINS_${target}_CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "" )
96
- set (BUILTINS_${target}_CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "" )
97
95
set (BUILTINS_${target}_CMAKE_C_FLAGS "--target=${target} " CACHE STRING "" )
98
96
set (BUILTINS_${target}_CMAKE_CXX_FLAGS "--target=${target} " CACHE STRING "" )
99
97
set (BUILTINS_${target}_CMAKE_ASM_FLAGS "--target=${target} " CACHE STRING "" )
@@ -106,7 +104,6 @@ foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unkn
106
104
list (APPEND RUNTIME_TARGETS "${target} " )
107
105
set (RUNTIMES_${target}_CMAKE_SYSTEM_NAME Linux CACHE STRING "" )
108
106
set (RUNTIMES_${target}_CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "" )
109
- set (RUNTIMES_${target}_CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "" )
110
107
set (RUNTIMES_${target}_CMAKE_C_FLAGS "--target=${target} " CACHE STRING "" )
111
108
set (RUNTIMES_${target}_CMAKE_CXX_FLAGS "--target=${target} " CACHE STRING "" )
112
109
set (RUNTIMES_${target}_CMAKE_ASM_FLAGS "--target=${target} " CACHE STRING "" )
@@ -157,7 +154,6 @@ if(FUCHSIA_SDK)
157
154
list (APPEND BUILTIN_TARGETS "${target} " )
158
155
set (BUILTINS_${target}_CMAKE_SYSTEM_NAME Fuchsia CACHE STRING "" )
159
156
set (BUILTINS_${target}_CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "" )
160
- set (BUILTINS_${target}_CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "" )
161
157
set (BUILTINS_${target}_CMAKE_ASM_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE STRING "" )
162
158
set (BUILTINS_${target}_CMAKE_C_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE STRING "" )
163
159
set (BUILTINS_${target}_CMAKE_CXX_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE STRING "" )
@@ -173,7 +169,6 @@ if(FUCHSIA_SDK)
173
169
set (RUNTIMES_${target}_CMAKE_SYSTEM_NAME Fuchsia CACHE STRING "" )
174
170
set (RUNTIMES_${target}_CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "" )
175
171
set (RUNTIMES_${target}_CMAKE_BUILD_WITH_INSTALL_RPATH ON CACHE BOOL "" )
176
- set (RUNTIMES_${target}_CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "" )
177
172
set (RUNTIMES_${target}_CMAKE_ASM_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE STRING "" )
178
173
set (RUNTIMES_${target}_CMAKE_C_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE STRING "" )
179
174
set (RUNTIMES_${target}_CMAKE_CXX_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE STRING "" )
@@ -293,6 +288,7 @@ set(LLVM_TOOLCHAIN_TOOLS
293
288
set (LLVM_DISTRIBUTION_COMPONENTS
294
289
clang
295
290
lld
291
+ LTO
296
292
clang-apply-replacements
297
293
clang-doc
298
294
clang-format
0 commit comments