diff --git a/utils.go b/utils.go index 3083c00..658a36a 100644 --- a/utils.go +++ b/utils.go @@ -692,7 +692,7 @@ func setupMakepkg(march string) error { makepkgStr := string(t) makepkgStr = strings.ReplaceAll(makepkgStr, "-mtune=generic", "") - if conf.Build.Checks != "true" { + if strings.ToLower(conf.Build.Checks) != "true" { makepkgStr = strings.ReplaceAll(makepkgStr, " check ", " !check ") } makepkgStr = strings.ReplaceAll(makepkgStr, " color ", " !color ")