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:
@@ -155,7 +155,7 @@ func (lto *lto) Never() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func GlobalThinLTO(ctx android.BaseModuleContext) 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
|
// Propagate lto requirements down from binaries
|
||||||
|
Reference in New Issue
Block a user