Skip to content

Commit cda6942

Browse files
committed
build: enable *building* lld
This enables building lld to ensure that we are able to build it in our toolchain. This does not change the linker used for any of the builds.
1 parent 8c1bfbe commit cda6942

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/build-script-impl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,6 +1926,10 @@ for host in "${ALL_HOSTS[@]}"; do
19261926
"${llvm_cmake_options[@]}"
19271927
)
19281928

1929+
cmake_options+=(
1930+
-DLLVM_TOOL_LLD_BUILD:BOOL=TRUE
1931+
)
1932+
19291933
if [[ ! -z "${CLANG_TOOLS_EXTRA_SOURCE_DIR}" ]] ; then
19301934
cmake_options+=(
19311935
-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR="${CLANG_TOOLS_EXTRA_SOURCE_DIR}"

0 commit comments

Comments
 (0)