diff --git a/chromium-browser-stable.spec b/chromium-browser-stable.spec index 0fc37bf..e2f039e 100644 --- a/chromium-browser-stable.spec +++ b/chromium-browser-stable.spec @@ -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 \