Skip to content

Commit 3350551

Browse files
committed
[build-script] When building compiler-rt, follow LLVM's lead by specifying that we are using LLVM's external project mechanism.
This matches the LLVM build more closely preventing potential build issues coming up. rdar://26284108
1 parent 4b039d3 commit 3350551

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build-script-impl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ function set_deployment_target_based_options() {
524524
-DLLVM_HOST_TRIPLE:STRING="${llvm_host_triple}"
525525
-DLLVM_ENABLE_LIBCXX:BOOL=TRUE
526526
-DLLVM_TOOL_COMPILER_RT_BUILD:BOOL="$(false_true ${SKIP_COMPILER_RT})"
527+
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL="$(false_true ${SKIP_COMPILER_RT})"
527528
-DCOMPILER_RT_ENABLE_IOS:BOOL=FALSE
528529
-DCOMPILER_RT_ENABLE_WATCHOS:BOOL=FALSE
529530
-DCOMPILER_RT_ENABLE_TVOS:BOOL=FALSE

0 commit comments

Comments
 (0)