Build riscv64 with thin LTO

Depends on: https://android-review.git.corp.google.com/c/platform/system/libhwbinder/+/2336346

Bug: b/254713216
Change-Id: Id750cab796ddf8c180fa0570e46cab0161788974
This commit is contained in:
AdityaK
2022-12-08 22:27:55 +00:00
committed by Aditya Kumar
parent f7c0afdb6e
commit 17c9c2a5b5

View File

@@ -91,11 +91,6 @@ func (lto *lto) flags(ctx BaseModuleContext, flags Flags) 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) {
var ltoCFlag string
var ltoLdFlag string