blob: 3701205a69be82b05e7a15ef6151c079a7093ff4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$OpenBSD: patch-build_config_compiler_compiler_gni,v 1.27 2021/11/16 11:28:45 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
|