Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b90ff827 authored by Yi Kong's avatar Yi Kong
Browse files

Revert "Turn on Global ThinLTO by default"

This reverts commit 406e7b72.

Reason for revert: ndk_translation causes clang to crash

Change-Id: I61b262157f9f57c739391757d5a1f95299ddadca
parent 406e7b72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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