1
0
forked from rosa/hakurei

internal/rosa/make: optionally format value as is

This enables correct formatting for awkward configure scripts.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-15 22:17:58 +09:00
parent fafce04a5d
commit 89d6d9576b

View File

@@ -171,7 +171,10 @@ func (attr *MakeHelper) script(name string) string {
s = "-" + s
}
if v[1] != "" {
s += "=" + v[1]
if v[0] != "" {
s += "="
}
s += v[1]
}
if !yield(s) {
return