Skip to content

Commit 824a3e6

Browse files
committed
[Apple Silicon] [build-script] Fix cross-compile check.
1 parent b850bc6 commit 824a3e6

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
@@ -651,7 +651,7 @@ function set_build_options_for_host() {
651651

652652
# We don't currently support building compiler-rt for cross-compile targets.
653653
# It's not clear that's useful anyway.
654-
if is_cross_tools_host "${host}"; then
654+
if [[ $(is_cross_tools_host "${host}") ]] ; then
655655
llvm_cmake_options+=(
656656
-DLLVM_TOOL_COMPILER_RT_BUILD:BOOL=FALSE
657657
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=FALSE

0 commit comments

Comments
 (0)