diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-19 03:38:35 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-19 03:38:35 +0900 |
| commit | 1857ad8763a349ada44cc993dd334b5e6f00acc0 (patch) | |
| tree | b53a93128c8dd46451942c546d7895aed8f7ed60 /internal/rosa/state.go | |
| parent | c822ff9aca0a3f176bf325daa73c2b9e810f896d (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/state.go')
| -rw-r--r-- | internal/rosa/state.go | 5 |
1 files changed, 5 insertions, 0 deletions
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) |
