diff --git a/utils.go b/utils.go index 68a4db5..0fde319 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 { + if !conf.Build.Checks { makepkgStr = strings.ReplaceAll(makepkgStr, " check ", " !check ") } makepkgStr = strings.ReplaceAll(makepkgStr, " color ", " !color ")