Skip to content

Commit 5151c27

Browse files
committed
Fix the ARM architecture on FreeBSD
The 64-bit ARM architecture spelling on FreeBSD is aarch64, not arm64. This results in a build failure about a missing `freebsd/arm64/swiftrt.o` while building the runtimes.
1 parent 9993d29 commit 5151c27

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class StdlibDeploymentTarget(object):
290290
"riscv64",
291291
"s390x"])
292292

293-
FreeBSD = Platform("freebsd", archs=["x86_64", "arm64"])
293+
FreeBSD = Platform("freebsd", archs=["x86_64", "aarch64"])
294294

295295
LinuxStatic = Platform('linux-static', sdk_name='LINUX_STATIC', archs=[
296296
'x86_64',

0 commit comments

Comments
 (0)