| Index: build/toolchain/concurrent_links.gni
|
| diff --git a/build/toolchain/concurrent_links.gni b/build/toolchain/concurrent_links.gni
|
| index 9705255b4d48a30725b489bada9666c6caa8a8b5..75d4932d5c524d07e8713a9db22dc4a2f965d5bd 100644
|
| --- a/build/toolchain/concurrent_links.gni
|
| +++ b/build/toolchain/concurrent_links.gni
|
| @@ -20,7 +20,14 @@ declare_args() {
|
|
|
| if (concurrent_links == -1) {
|
| if (allow_posix_link_time_opt || is_cfi) {
|
| - _args = [ "--lto" ]
|
| + _args = [
|
| + "--mem_per_link_gb=24",
|
| + "--reserve_mem_gb=10",
|
| + ]
|
| + } else if (is_win) {
|
| + _args = [ "--mem_per_link_gb=5" ]
|
| + } else if (is_mac) {
|
| + _args = [ "--mem_per_link_gb=4" ]
|
| } else {
|
| _args = []
|
| }
|
|
|