Skip to content

Commit 6065c13

Browse files
committed
[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 2e5e72b commit 6065c13

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
@@ -2336,7 +2336,7 @@ for host in "${ALL_HOSTS[@]}"; do
23362336
continue
23372337
fi
23382338

2339-
if [[ "${BUILD_SWIFT_TOOLS}" == "0" ]]; then
2339+
if [[ "${CROSS_COMPILE_BUILD_SWIFT_TOOLS}" == "0" ]]; then
23402340
echo "Skipping building Foundation Macros for ${host}, because the host tools are not being built"
23412341
continue
23422342
fi
@@ -2925,7 +2925,7 @@ for host in "${ALL_HOSTS[@]}"; do
29252925
continue
29262926
fi
29272927

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

0 commit comments

Comments
 (0)