commit 21189290829cb6c680dc562895b9aba7e4afaa06
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Mar 17 17:21:48 2022 +0000
Revert "Disable LTO"
This reverts commit ef2aec63320d8e74872746f9e877321beb1c1062.
chromium-freeworld.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index b6f191e..1b99f68 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -28,11 +28,13 @@
%global system_harfbuzz 0
%global system_libjpeg 1
%global system_libicu 0
-%global system_libpng 1
+# lto issue with system libpng
+%global system_libpng 0
%global system_libvpx 0
# The libxml_utils code depends on the specific bundled libxml checkout
%global system_libxml2 0
-%global system_minizip 1
+# lto issue with system minizip
+%global system_minizip 0
%global system_re2 1
%global system_libwebp 1
%global system_xslt 1
@@ -422,7 +424,7 @@ gn_arg clang_base_path=\"%{_prefix}\"
gn_arg is_clang=true
gn_arg clang_use_chrome_plugins=false
gn_arg use_lld=true
-gn_arg use_thin_lto=false
+gn_arg use_thin_lto=true
%else
gn_arg is_clang=false
%endif