commit | b1a9aab987aa45872fc3b4702a67ac5ac06810a4 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Tue Aug 23 11:36:02 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 23 11:36:02 2022 +0000 |
tree | e2fa33a4f43252caf89c28c3341152a86145cafe | |
parent | 8cab5906da1a572c6499fb5a305046fc0a6630b0 [diff] | |
parent | 7689c64f6807f15b7a2656c8eb23125812018288 [diff] |
Merge "Revert "Reland "Turn on Global ThinLTO by default"""
diff --git a/cc/lto.go b/cc/lto.go index 4b9de38..455ff7e 100644 --- a/cc/lto.go +++ b/cc/lto.go
@@ -161,7 +161,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