LTO by default

This commit is contained in:
ferreo 2024-07-30 00:07:21 +01:00
parent 654fcbcd67
commit 8827c02861
2 changed files with 2 additions and 5 deletions

View File

@ -56,9 +56,9 @@ func StartPackageQueueWorker(ctx context.Context) {
return true return true
}) })
if needsBuild { if needsBuild {
typ := domain.BuildTypeNormal typ := domain.BuildTypeLTO
if errPreviously { if errPreviously {
typ = domain.BuildTypeLTO typ = domain.BuildTypeNormal
} }
buildItem := domain.BuildQueueItem{ buildItem := domain.BuildQueueItem{
Source: v, Source: v,

View File

@ -425,9 +425,6 @@ func GetPackagesCount() domain.PackagesCount {
case domain.Error: case domain.Error:
count.Error++ count.Error++
} }
if pkg.LastBuildStatus == domain.Error {
count.Error++
}
return false return false
}) })
return true return true