Merge "Revert "Build riscv64 with thin LTO""
This commit is contained in:
@@ -91,6 +91,11 @@ 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
|
||||||
|
Reference in New Issue
Block a user