Skip to content

Commit 78adc20

Browse files
authored
Merge pull request #81242 from edymtt/edymtt/match-host-architecture-for-runtime-targets-for-darwin
compiler-rt: use the current host architecture for the runtime targets
2 parents 294e4cf + 1bf6ac8 commit 78adc20

File tree

1 file changed

+1
-1
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/products/llvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def build(self, host_target):
313313
llvm_cmake_options.define(
314314
'SANITIZER_COMMON_LINK_FLAGS:STRING', '-Wl,-z,undefs')
315315

316-
builtins_runtimes_target_for_darwin = 'arm64-apple-darwin'
316+
builtins_runtimes_target_for_darwin = f'{arch}-apple-darwin'
317317
if system() == "Darwin":
318318
llvm_cmake_options.define(
319319
f'BUILTINS_{builtins_runtimes_target_for_darwin}_'

0 commit comments

Comments
 (0)