diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-30 00:16:57 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-30 00:18:22 +0900 |
| commit | 6487b41d922f56d46167802780fcde62d1f27095 (patch) | |
| tree | a17e76fcb4cd790c3396a26960d45430672c0637 /internal/rosa/make.go | |
| parent | 7908fb9583cb6af84345508390ec9ea9fc986763 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/make.go')
| -rw-r--r-- | internal/rosa/make.go | 13 |
1 files changed, 7 insertions, 6 deletions
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. |
