680845cb1c
Linux build / Determine Swift version (push) Waiting to run
Linux build / Linux compile check (push) Blocked by required conditions
Build containerization / Verify commit signatures (push) Has been skipped
Build containerization / containerization (push) Successful in 0s
10 lines
456 B
Bash
Executable File
10 lines
456 B
Bash
Executable File
#!/bin/sh
|
|
# Wrapper that points the autotools / libtool linker probe at
|
|
# LLVM's lld, which can produce x86_64 ELF output on an aarch64
|
|
# host. The system `/usr/bin/ld` on the dev image is aarch64-only
|
|
# and rejects `-m elf_x86_64`, causing libtool to silently disable
|
|
# shared-library builds. libtool searches PATH for `<host>-ld`
|
|
# before falling back to plain `ld`; this wrapper satisfies the
|
|
# search and unblocks shared-lib emission.
|
|
exec ld.lld "$@"
|