Revert "Reland "Turn on Global ThinLTO by default""
This reverts commit 4273c18a4fc59573697bf46e3f4abd18523b2f86.
Bug: 243475788
Bug: 243490273
Change-Id: I5ea8c8e6a84408013bc7ed573776d8f5eebc091f
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