We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51d937c commit cc454f6Copy full SHA for cc454f6
utils/build-script
@@ -393,6 +393,12 @@ def apply_default_arguments(toolchain, args):
393
if (target.platform.is_darwin and
394
target.arch in supported_archs)
395
]
396
+ else:
397
+ # Clear the value explicitly from CMakeCache.txt
398
+ # to avoid picking up a stale value that can cause
399
+ # build failures
400
+ args.extra_cmake_options.append(
401
+ '-USWIFT_DARWIN_SUPPORTED_ARCHS')
402
403
# Filter out any macOS stdlib deployment targets that are not supported
404
# by the macOS SDK.
0 commit comments