mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Optimizations] Work-aroud issue with way too many processes started in LTO stages with some build systems
This commit is contained in:
parent
fab3337f07
commit
3d766db870
1 changed files with 2 additions and 1 deletions
|
|
@ -15,11 +15,12 @@ let
|
|||
cpuArch ? generalCfg.cpuArch ,
|
||||
cpuTune ? generalCfg.cpuTune ,
|
||||
extraCFlags ? cfg.extraCompileFlags ,
|
||||
cpuCores ? generalCfg.cores ,
|
||||
...
|
||||
}@attrs:
|
||||
_trace (
|
||||
(myLib.optimizations.makeOptimizationFlags ({
|
||||
inherit lto go cpuArch cpuTune extraCFlags;
|
||||
inherit lto go cpuArch cpuTune extraCFlags cpuCores;
|
||||
} // attrs))
|
||||
// (optionalAttrs cmake {
|
||||
preConfigure = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue