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>
This commit is contained in:
cat
2026-07-19 03:38:35 +09:00
parent c822ff9aca
commit 1857ad8763
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -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)