diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-23 01:54:17 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-23 01:54:17 +0900 |
| commit | ac60441cfe5b7018314ebe2b72e9b4db834b70f3 (patch) | |
| tree | 5c0cc271420a404f3dea01bae0057889ac5cffcb /internal/rosa/state.go | |
| parent | 9bd84ff006a29c935ca761c9ebb8ae50106a429f (diff) | |
internal/rosa: insert musl when cross-compiling
This is otherwise never added to the cross root.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/state.go')
| -rw-r--r-- | internal/rosa/state.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 592d6018..5d2de9a0 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -1106,7 +1106,7 @@ func (ctx *evalContext) pf( tools, inputs, extra azalea.Array cross, runtimes = azalea.Array{}, azalea.Array{} - bootstrap = true + bootstrap, libc = true, true ) if err = args.Apply(map[unique.Handle[azalea.Ident]]any{ k("description"): &meta.Description, @@ -1130,6 +1130,7 @@ func (ctx *evalContext) pf( k("toyboxEarly"): &attr.Early, k("minimal"): &attr.NoToolchain, k("bootstrap"): &bootstrap, + k("libc"): &libc, k("checksum"): &kc, k("output"): &output, @@ -1146,7 +1147,7 @@ func (ctx *evalContext) pf( }); err != nil { return } - attr.Std = !bootstrap + attr.Std, attr.NoLibc = !bootstrap, !libc attr.NoArch = cross == nil var inputsH, extraH P if inputsH, err = toHandles(inputs); err != nil { |
