From 6487b41d922f56d46167802780fcde62d1f27095 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 30 Jul 2026 00:16:57 +0900 Subject: internal/rosa: remove legacy exec helper This change also adds a fourth stage to the bootstrap machinery, offering more correct toolchain validation that works around LLVM dynamic linking flaws. Signed-off-by: Ophestra --- internal/rosa/make.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'internal/rosa/make.go') diff --git a/internal/rosa/make.go b/internal/rosa/make.go index bc237f17..8b1103d6 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -52,15 +52,16 @@ type MakeHelper struct { var _ Helper = new(MakeHelper) // extra returns make and other optional dependencies. -func (attr *MakeHelper) extra(flag int) P { - extra := P{_make} - if (attr == nil || !attr.OmitDefaults) && flag&TEarly == 0 { - extra = append(extra, +func (attr *MakeHelper) extra() P { + if attr == nil || !attr.OmitDefaults { + return P{ + _make, + _awk, _coreutils, - ) + } } - return extra + return P{_make} } // wantsChmod returns whether the build system needs to be generated. -- cgit v1.3.1