mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-24 07:02:48 +00:00
Disable thin LTO on 32 bit trying to reduce memory usage when linking
This commit is contained in:
parent
1b73bbc6e2
commit
df7efee6e6
1 changed files with 8 additions and 0 deletions
|
@ -477,11 +477,19 @@ export PYTHONPATH="../../third_party/pyjson5/src:../../xcb-proto-%{xcb_version}"
|
|||
%define target_cpu %{nil}
|
||||
%endif
|
||||
|
||||
# Linking on 32 bit does not have enough memory for LTO
|
||||
%ifarch %{ix86}
|
||||
%define use_thin_lto false
|
||||
%else
|
||||
%define use_thin_lto true
|
||||
%endif
|
||||
|
||||
# v NO TABS IN HERE!
|
||||
%define gn_config use_sysroot=false \
|
||||
%{target_cpu} \
|
||||
is_official_build=true \
|
||||
symbol_level=%{symbol_level} \
|
||||
use_thin_lto=%{use_thin_lto} \
|
||||
strip_debug_info=false \
|
||||
system_libdir="%{_lib}" \
|
||||
icu_use_data_file=true \
|
||||
|
|
Loading…
Add table
Reference in a new issue