Skip to content

Commit 2d735e8

Browse files
authored
[build] Switch over to new --cross-compile-build-swift-tools flag when cross-compiling Foundation macros (#82163)
Follow-on to #38441, missed this there.
1 parent 1869832 commit 2d735e8

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
@@ -2331,7 +2331,7 @@ for host in "${ALL_HOSTS[@]}"; do
23312331
continue
23322332
fi
23332333

2334-
if [[ "${BUILD_SWIFT_TOOLS}" == "0" ]]; then
2334+
if [[ "${CROSS_COMPILE_BUILD_SWIFT_TOOLS}" == "0" ]]; then
23352335
echo "Skipping building Foundation Macros for ${host}, because the host tools are not being built"
23362336
continue
23372337
fi
@@ -2920,7 +2920,7 @@ for host in "${ALL_HOSTS[@]}"; do
29202920
continue
29212921
fi
29222922

2923-
if [[ "${BUILD_SWIFT_TOOLS}" == "0" && "${product}" == "foundation_macros" ]]; then
2923+
if [[ "${CROSS_COMPILE_BUILD_SWIFT_TOOLS}" == "0" && "${product}" == "foundation_macros" ]]; then
29242924
echo "Skipping installing Foundation Macros for ${host}, because the host tools are not being built"
29252925
continue
29262926
fi

0 commit comments

Comments
 (0)