LTO by default
This commit is contained in:
parent
654fcbcd67
commit
8827c02861
@ -56,9 +56,9 @@ func StartPackageQueueWorker(ctx context.Context) {
|
||||
return true
|
||||
})
|
||||
if needsBuild {
|
||||
typ := domain.BuildTypeNormal
|
||||
typ := domain.BuildTypeLTO
|
||||
if errPreviously {
|
||||
typ = domain.BuildTypeLTO
|
||||
typ = domain.BuildTypeNormal
|
||||
}
|
||||
buildItem := domain.BuildQueueItem{
|
||||
Source: v,
|
||||
|
@ -425,9 +425,6 @@ func GetPackagesCount() domain.PackagesCount {
|
||||
case domain.Error:
|
||||
count.Error++
|
||||
}
|
||||
if pkg.LastBuildStatus == domain.Error {
|
||||
count.Error++
|
||||
}
|
||||
return false
|
||||
})
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user