From 237e793895d276f9b78195ed59f36c15c8b5d86f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Jul 2026 10:08:08 +0900 Subject: internal/rosa: respect preferred loadavg target This generally improves build performance and system responsiveness. Signed-off-by: Ophestra --- internal/rosa/make.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/rosa/make.go') diff --git a/internal/rosa/make.go b/internal/rosa/make.go index 257c51f1..d143a137 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -160,7 +160,8 @@ func (attr *MakeHelper) script(t Toolchain, name string) string { scriptMake := ` make \ - ` + jobsFlagE + ` + jobsFlagE + ` \ + ` + loadFlagE if len(attr.Make) > 0 { scriptMake += " \\\n\t" + strings.Join(attr.Make, " \\\n\t") } @@ -170,6 +171,7 @@ make \ (!attr.SkipCheckEarly || !t.stage.isStage0()) { scriptMake += attr.ScriptCheckEarly + `make \ ` + jobsFlagE + ` \ + ` + loadFlagE + ` \ ` if len(attr.Check) > 0 { scriptMake += strings.Join(attr.Check, " \\\n\t") -- cgit v1.3.1