Revert "Turn on Global ThinLTO by default"

This reverts commit 406e7b725b.

Reason for revert: ndk_translation causes clang to crash

Change-Id: I61b262157f9f57c739391757d5a1f95299ddadca
This commit is contained in:
Yi Kong
2022-08-18 14:52:08 +00:00
parent 406e7b725b
commit b90ff82772

View File

@@ -155,7 +155,7 @@ func (lto *lto) Never() bool {
}
func GlobalThinLTO(ctx android.BaseModuleContext) bool {
return !ctx.Config().IsEnvFalse("GLOBAL_THINLTO")
return ctx.Config().IsEnvTrue("GLOBAL_THINLTO")
}
// Propagate lto requirements down from binaries