From 1857ad8763a349ada44cc993dd334b5e6f00acc0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 19 Jul 2026 03:38:35 +0900 Subject: internal/rosa: optionally exclude toolchain in azalea This is useful for edge cases where programs rely on gcc bugs to behave correctly. Signed-off-by: Ophestra --- internal/rosa/state.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/rosa/state.go') diff --git a/internal/rosa/state.go b/internal/rosa/state.go index cd010d5c..9fb9b20e 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -989,6 +989,7 @@ func (ctx *evalContext) pf( files []KV excl bool early bool + minimal bool anitya int64 kc any @@ -1019,6 +1020,7 @@ func (ctx *evalContext) pf( k("files"): &files, k("exclusive"): &excl, k("toyboxEarly"): &early, + k("minimal"): &minimal, k("checksum"): &kc, k("output"): &output, @@ -1118,6 +1120,9 @@ func (ctx *evalContext) pf( if early { attr.Flag |= TEarly } + if minimal { + attr.Flag |= TNoToolchain + } if kc != nil { checksum, ok := kc.(string) -- cgit v1.3.1