From d9ebaf20f8e71f043d2387a42d273dadc5d536b5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 24 Jan 2026 11:48:19 +0900 Subject: internal/rosa: stage3 special case helper This makes it cleaner to specify non-stage3 and stage3-exclusive dependencies. Signed-off-by: Ophestra --- internal/rosa/musl.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'internal/rosa/musl.go') diff --git a/internal/rosa/musl.go b/internal/rosa/musl.go index 41760758..c9945d19 100644 --- a/internal/rosa/musl.go +++ b/internal/rosa/musl.go @@ -41,16 +41,8 @@ rmdir -v /work/lib script = "" } - extra := []pkg.Artifact{ + return t.New("musl-"+version, stage3Concat(t, attr.Extra, t.NewMake(), - } - if t == toolchainStage3 { - extra = nil - } - - return t.New("musl-"+version, slices.Concat( - attr.Extra, - extra, ), nil, slices.Concat([]string{ "ROSA_MUSL_TARGET=" + target, }, attr.Env), ` -- cgit v1.3.1