Merge "Build riscv64 with thin LTO"

This commit is contained in:
Aditya Kumar
2023-02-14 05:00:24 +00:00
committed by Gerrit Code Review

View File

@@ -91,11 +91,6 @@ func (lto *lto) flags(ctx BaseModuleContext, flags Flags) Flags {
return flags return flags
} }
// TODO(b/254713216): LTO doesn't work on riscv64 yet.
if ctx.Arch().ArchType == android.Riscv64 {
return flags
}
if lto.LTO(ctx) { if lto.LTO(ctx) {
var ltoCFlag string var ltoCFlag string
var ltoLdFlag string var ltoLdFlag string