commit | 8cab5906da1a572c6499fb5a305046fc0a6630b0 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Aug 23 00:47:28 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 23 00:47:28 2022 +0000 |
tree | 8e90bc9da75ebcc53c4e362ad168a33864ae4a73 | |
parent | f171dac47e17d471fc249f61cdd409cfd48fd165 [diff] | |
parent | 4273c18a4fc59573697bf46e3f4abd18523b2f86 [diff] |
Merge "Reland "Turn on Global ThinLTO by default""
diff --git a/cc/lto.go b/cc/lto.go index 455ff7e..4b9de38 100644 --- a/cc/lto.go +++ b/cc/lto.go
@@ -161,7 +161,7 @@ } func GlobalThinLTO(ctx android.BaseModuleContext) bool { - return ctx.Config().IsEnvTrue("GLOBAL_THINLTO") + return !ctx.Config().IsEnvFalse("GLOBAL_THINLTO") } // Propagate lto requirements down from binaries