mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-24 07:02:48 +00:00
Fix if-else. jumbo is_limit 10 for ix86, because gold linker still gave aerror of allocating memory.
This commit is contained in:
parent
9b152c93b6
commit
849af6d3e5
1 changed files with 5 additions and 4 deletions
|
@ -369,9 +369,9 @@ ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
|
|||
%define localhost 0
|
||||
%if 0%{localhost}
|
||||
%ifarch %ix86
|
||||
%define is_limit 50
|
||||
%define is_limit 10
|
||||
%else
|
||||
%define is_limit 100
|
||||
%define is_limit 50
|
||||
%endif
|
||||
%else
|
||||
%define is_limit 10
|
||||
|
@ -393,12 +393,13 @@ export NM=nm
|
|||
%ifarch %ix86
|
||||
# GNU ld linker got out of memory on i586 with jumbo is_limit=100.
|
||||
# Gold linker worked fine with jumbo is_limit=100 on i586.
|
||||
%define linker_args use_gold=true use_lld=false
|
||||
%endif
|
||||
%define linker_args use_gold=true
|
||||
%else
|
||||
%ifarch x86_64
|
||||
# If both gold and lld are false, GNU ld is used.
|
||||
%define linker_agrs use_gold=false use_lld=false is_cfi=false use_thin_lto=false
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%else
|
||||
%define is_clang false
|
||||
|
|
Loading…
Add table
Reference in a new issue