musllvm

musl and LLVM cross-toolchain build system
git clone https://git.daat.foo/repos/musllvm.git
Log | Files | Refs | README | LICENSE

ld.sh (153B)


      1 #!/bin/sh
      2 set -eu
      3 prefix=$(CDPATH= cd "$(dirname "$0")/.." && pwd -P)
      4 exec "$prefix/libexec/ld.lld" --sysroot="${MUSLLVM_SYSROOT:-$prefix/sysroot}" "$@"