From ac60441cfe5b7018314ebe2b72e9b4db834b70f3 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 23 Oct 2026 01:54:17 +0900 Subject: internal/rosa: insert musl when cross-compiling This is otherwise never added to the cross root. Signed-off-by: Ophestra --- internal/rosa/state.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/rosa/state.go') 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 { -- cgit v1.3.1