mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user