Merge "[pvmfw/rialto] Disable full LTO in vmbase" into main am: c45107461e am: 4ed99b63b7

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/3131353

Change-Id: I59fe9447cea34ed8738fdbbe03b53b9740813d5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.