commit | 736664571b62d699c1b20f8a2a698626ade0518e | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu Aug 18 17:24:55 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Aug 18 17:24:55 2022 +0000 |
tree | 23232fdc2c42199498bdeed6a979dd5368340c7e | |
parent | 3352ceb6914b7169bc2d72ad07797419b3b63399 [diff] | |
parent | b90ff82772f53e6360bafa343cd412ac41064bea [diff] |
Merge "Revert "Turn on Global ThinLTO by default""
diff --git a/cc/lto.go b/cc/lto.go index 304790c..1da69bf 100644 --- a/cc/lto.go +++ b/cc/lto.go
@@ -155,7 +155,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