Skip to content

Commit fc1735c

Browse files
committed
Fix thinko.
1 parent d214373 commit fc1735c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ function set_deployment_target_based_options() {
423423
-DLLVM_HOST_TRIPLE:STRING="${llvm_host_triple}"
424424
-DLLVM_ENABLE_LIBCXX:BOOL=TRUE
425425
)
426-
if [[ -n "${LLVM_ENABLE_LTO}" ]]; then
426+
if [[ $(true_false "${LLVM_ENABLE_LTO}") = "TRUE" ]]; then
427427
llvm_cmake_options=(
428428
"${llvm_cmake_options[@]}"
429429
"-DCMAKE_C_FLAGS=-O2 -flto -gline-tables-only -fno-stack-protector "

0 commit comments

Comments
 (0)