Skip to content

Commit a1e180c

Browse files
committed
Base check on the number of deployment targets
1 parent 79b7c96 commit a1e180c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build-script-impl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ function set_deployment_target_based_options() {
488488
-DCMAKE_OSX_SYSROOT:PATH="$(xcrun --sdk ${xcrun_sdk_name} --show-sdk-path)"
489489
-DLLVM_HOST_TRIPLE:STRING="${llvm_host_triple}"
490490
-DLLVM_ENABLE_LIBCXX:BOOL=TRUE
491-
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=$(true_false "${CROSS_COMPILE_TOOLS_DEPLOYMENT_TARGETS}")
492-
-DCOMPILER_RT_ENABLE_IOS:BOOL=$(false_true ${SKIP_IOS})
491+
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL="$(true_false ${#CROSS_COMPILE_TOOLS_DEPLOYMENT_TARGETS[@]})"
492+
-DCOMPILER_RT_ENABLE_IOS:BOOL="$(false_true ${SKIP_IOS})"
493493
-DCOMPILER_RT_ENABLE_WATCHOS:BOOL=FALSE
494494
-DCOMPILER_RT_ENABLE_TVOS:BOOL=FALSE
495495
)

0 commit comments

Comments
 (0)