[pvmfw/rialto] Disable full LTO in vmbase
pvmfw fails to start when full LTO is enabled.
Test: atest VmAttestationTestApp
Bug: 346974429
Change-Id: I11f61d4f248755f6b286213041bb88cd5cac5402
diff --git a/vmbase/Android.bp b/vmbase/Android.bp
index f01e8aa..ee12e85 100644
--- a/vmbase/Android.bp
+++ b/vmbase/Android.bp
@@ -57,6 +57,8 @@
hwaddress: false,
},
native_coverage: false,
+ // TODO(b/346974429): Workaround pvmfw failure when enabling full LTO
+ lto_O0: true,
}
// Used by cc_binary when producing the ELF of a vmbase-based binary.