File electron-13-fix-use-thin-lto.patch of Package nodejs-electron

Index: electron-17.1.0/build/config/compiler/compiler.gni
===================================================================
--- electron-17.1.0.orig/build/config/compiler/compiler.gni	2022-03-09 08:27:56.719840060 +0100
+++ electron-17.1.0/build/config/compiler/compiler.gni	2022-03-09 13:07:58.709063960 +0100
@@ -71,12 +71,7 @@ declare_args() {
   # Disabled in iOS cronet builds since build step cronet_static_complete
   # wants to build a .a file consumable by external clients, and they won't
   # have the same LLVM revisions as us, making bitcode useless to them.
-  use_thin_lto =
-      is_cfi || (is_clang && is_official_build && chrome_pgo_phase != 1 &&
-                 (is_linux || is_win || is_mac ||
-                  (is_ios && use_lld && !is_cronet_build) ||
-                  (is_android && target_os != "chromeos") ||
-                  (is_chromeos && is_chromeos_device)))
+  use_thin_lto = false
 
   # If true, use Goma for ThinLTO code generation where applicable.
   use_goma_thin_lto = false
openSUSE Build Service is sponsored by