Statically linking, especially with LTO can use a lot of memory. Limit to 16 jobs by default, which is more than enough. Only fuzzers are affected as we don't produce that much binaries otherwise.
Unified · Split
| @@ -4,6 +4,7 @@ project('mpv', · 3 unmodified lines | |||
| 4 | version: files('./VERSION'), | 4 | version: files('./VERSION'), |
| 5 | meson_version: '>=0.62.0', | 5 | meson_version: '>=0.62.0', |
| 6 | default_options: [ | 6 | default_options: [ |
| 7 | 'backend_max_links=16', | ||
| 7 | 'buildtype=debugoptimized', | 8 | 'buildtype=debugoptimized', |
| 8 | 'b_lundef=false', | 9 | 'b_lundef=false', |
| 9 | 'c_std=c11', | 10 | 'c_std=c11', |