[build] Switch over to new --cross-compile-build-swift-tools flag when cross-compiling Foundation macros (#82163)

Follow-on to #38441, missed this there.
This commit is contained in:
finagolfin
2025-06-11 21:43:56 +05:30
committed by Finagolfin
parent 2e5e72baa2
commit 6065c13a23

View File

@@ -2336,7 +2336,7 @@ for host in "${ALL_HOSTS[@]}"; do
continue
fi
if [[ "${BUILD_SWIFT_TOOLS}" == "0" ]]; then
if [[ "${CROSS_COMPILE_BUILD_SWIFT_TOOLS}" == "0" ]]; then
echo "Skipping building Foundation Macros for ${host}, because the host tools are not being built"
continue
fi
@@ -2925,7 +2925,7 @@ for host in "${ALL_HOSTS[@]}"; do
continue
fi
if [[ "${BUILD_SWIFT_TOOLS}" == "0" && "${product}" == "foundation_macros" ]]; then
if [[ "${CROSS_COMPILE_BUILD_SWIFT_TOOLS}" == "0" && "${product}" == "foundation_macros" ]]; then
echo "Skipping installing Foundation Macros for ${host}, because the host tools are not being built"
continue
fi