$OpenBSD: patch-build_config_compiler_compiler_gni,v 1.13 2021/10/29 14:49:39 robert Exp $

Index: build/config/compiler/compiler.gni
--- build/config/compiler/compiler.gni.orig
+++ build/config/compiler/compiler.gni
@@ -71,11 +71,7 @@ declare_args() {
   # Use it by default on official-optimized android and Chrome OS builds, but
   # not ARC or linux-chromeos since it's been seen to not play nicely with
   # Chrome's clang. crbug.com/1033839
-  use_thin_lto =
-      is_cfi ||
-      (is_official_build && chrome_pgo_phase != 1 &&
-       (is_linux || is_win || (is_android && target_os != "chromeos") ||
-        ((is_chromeos_ash || is_chromeos_lacros) && is_chromeos_device)))
+  use_thin_lto = false
 
   # If true, use Goma for ThinLTO code generation where applicable.
   use_goma_thin_lto = false
