Skip to content

Commit d0753d8

Browse files
committed
Change variable name
1 parent e0d52ed commit d0753d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/cmake/caches/Release.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ set(LLVM_RELEASE_ENABLE_PROJECTS ${DEFAULT_PROJECTS} CACHE STRING "")
5555
# link with system libc++ which can cause some incompatibilities.
5656
# See https://github.com/llvm/llvm-project/issues/77653
5757
# Because of these problems, this option will default to OFF.
58-
set(LLVM_RELEASE_LINK_LOCAL_RUNTIMES OFF CACHE BOOL "")
58+
set(LLVM_RELEASE_ENABLE_LINK_LOCAL_RUNTIMES OFF CACHE BOOL "")
5959

6060
# Note we don't need to add install here, since it is one of the pre-defined
6161
# steps.
@@ -71,7 +71,7 @@ set(STAGE1_PROJECTS "clang")
7171
# Need to build compiler-rt in order to use PGO for later stages.
7272
set(STAGE1_RUNTIMES "compiler-rt")
7373
# Build all runtimes so we can statically link them into the stage2 compiler.
74-
if(LLVM_RELEASE_LINK_LOCAL_RUNTIMES)
74+
if(LLVM_RELEASE_ENABLE_LINK_LOCAL_RUNTIMES)
7575
list(APPEND STAGE1_RUNTIMES "libcxx;libcxxabi;libunwind")
7676
endif()
7777

@@ -135,7 +135,7 @@ set_instrument_and_final_stage_var(LLVM_ENABLE_LTO "${LLVM_RELEASE_ENABLE_LTO}"
135135
if (LLVM_RELEASE_ENABLE_LTO)
136136
set_instrument_and_final_stage_var(LLVM_ENABLE_LLD "ON" BOOL)
137137
endif()
138-
if(LLVM_RELEASE_LINK_LOCAL_RUNTIMES)
138+
if(LLVM_RELEASE_ENABLE_LINK_LOCAL_RUNTIMES)
139139
set_instrument_and_final_stage_var(LLVM_ENABLE_LIBCXX "ON" BOOL)
140140
set_instrument_and_final_stage_var(LLVM_STATIC_LINK_CXX_STDLIB "ON" BOOL)
141141
set(RELEASE_LINKER_FLAGS "-rtlib=compiler-rt --unwindlib=libunwind")

0 commit comments

Comments
 (0)