forked from ALHP/ALHP.GO
fixed check logic
This commit is contained in:
2
utils.go
2
utils.go
@@ -692,7 +692,7 @@ func setupMakepkg(march string) error {
|
|||||||
makepkgStr := string(t)
|
makepkgStr := string(t)
|
||||||
|
|
||||||
makepkgStr = strings.ReplaceAll(makepkgStr, "-mtune=generic", "")
|
makepkgStr = strings.ReplaceAll(makepkgStr, "-mtune=generic", "")
|
||||||
if conf.Build.Checks {
|
if !conf.Build.Checks {
|
||||||
makepkgStr = strings.ReplaceAll(makepkgStr, " check ", " !check ")
|
makepkgStr = strings.ReplaceAll(makepkgStr, " check ", " !check ")
|
||||||
}
|
}
|
||||||
makepkgStr = strings.ReplaceAll(makepkgStr, " color ", " !color ")
|
makepkgStr = strings.ReplaceAll(makepkgStr, " color ", " !color ")
|
||||||
|
Reference in New Issue
Block a user