commit | 78e4695b3a1831ac81c02698da4b7b2cd03cb17b | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Tue Aug 15 03:27:21 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 15 03:27:21 2023 +0000 |
tree | c579c5c02619b9d25370b350ac0de0a73c33899d | |
parent | 66ae90d3ce9027f33915e525f45049d05ed4a2f4 [diff] | |
parent | 9c81c0cfd94042e1c6406467e33de3564d647ac6 [diff] |
Merge "Disable Global ThinLTO by default" into main
diff --git a/cc/lto.go b/cc/lto.go index df9ca0a..820c1f0 100644 --- a/cc/lto.go +++ b/cc/lto.go
@@ -162,7 +162,7 @@ } func GlobalThinLTO(ctx android.BaseModuleContext) bool { - return !ctx.Config().IsEnvFalse("GLOBAL_THINLTO") + return ctx.Config().IsEnvTrue("GLOBAL_THINLTO") } // Propagate lto requirements down from binaries