aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/state.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-26 02:55:38 +0900
committerOphestra <cat@gensokyo.uk>2026-10-26 03:49:41 +0900
commit020e3aa4fec74cf72bb853b854bba66e96302ea9 (patch)
treec0eca28968b52a4f26b18271bcc71d249ab3e2fd /internal/rosa/state.go
parent828174513b690652a0c54f590cd224caaa6723b0 (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/state.go')
-rw-r--r--internal/rosa/state.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go
index caaea3e9..fb7fa4f8 100644
--- a/internal/rosa/state.go
+++ b/internal/rosa/state.go
@@ -531,10 +531,12 @@ func (s *S) getFrame() azalea.Frame {
k("hostTriple"): triple(native),
k("hostArch"): native,
k("hostLinuxArch"): linuxArch(native),
+ k("hostLLVMArch"): llvmArch(native),
k("triple"): s.triple(),
k("arch"): s.arch,
k("linuxArch"): s.linuxArch(),
+ k("llvmArch"): s.llvmArch(),
k("earlyLDFLAGS"): s.earlyLDFLAGS(false),
k("jobsE"): jobsE,