From 2f15cebd3e115f2aef1b8c237cdae39c1fa0eb5c Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sun, 21 Nov 2021 19:35:58 +0100 Subject: [PATCH] fixed check logic --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ")