diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-26 02:55:38 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-26 03:49:41 +0900 |
| commit | 020e3aa4fec74cf72bb853b854bba66e96302ea9 (patch) | |
| tree | c0eca28968b52a4f26b18271bcc71d249ab3e2fd /internal/rosa/go.go | |
| parent | 828174513b690652a0c54f590cd224caaa6723b0 (diff) | |
internal/rosa: LLVM-specific arch name
This is different from linuxArch for PowerPC. While the alternative
usually works fine, compiling compiler-rt builtins produces no output
with linuxArch. The musl installation also uses this name.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/go.go')
| -rw-r--r-- | internal/rosa/go.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/rosa/go.go b/internal/rosa/go.go index fb588724..dac77aa7 100644 --- a/internal/rosa/go.go +++ b/internal/rosa/go.go @@ -131,7 +131,7 @@ echo \ "YtrDka402BOAEwywx03Vz4QlVwoBiguJHzG7PuythMCPHXS8CVMLvzmvgEbu4Tzu", []string{"CGO_ENABLED=0"}, ` sed -i \ - 's,/lib/ld-musl-`+t.linuxArch()+`.so.1,/system/bin/linker,' \ + 's,/lib/ld-musl-`+t.llvmArch()+`.so.1,/system/bin/linker,' \ cmd/link/internal/`+t.arch+`/obj.go rm \ @@ -149,7 +149,7 @@ echo \ "wcI32bl1tkqbgcelGtGWPI4RtlEddd-PTd76Eb-k7nXA5LbE9yTNdIL9QSOOxMOs", []string{"CGO_ENABLED=0"}, ` sed -i \ - 's,/lib/ld-musl-`+t.linuxArch()+`.so.1,/system/bin/linker,' \ + 's,/lib/ld-musl-`+t.llvmArch()+`.so.1,/system/bin/linker,' \ cmd/link/internal/`+t.arch+`/obj.go `, go121, ) @@ -159,7 +159,7 @@ sed -i \ checksum, []string{"CGO_ENABLED=0"}, ` sed -i \ - 's,/lib/ld-musl-`+t.linuxArch()+`.so.1,/system/bin/linker,' \ + 's,/lib/ld-musl-`+t.llvmArch()+`.so.1,/system/bin/linker,' \ cmd/link/internal/`+t.arch+`/obj.go rm \ |
