Merge "Remove RELEASE_USE_TRANSITIVE_JARS_IN_CLASSPATH" into main
diff --git a/Android.bp b/Android.bp
index 523f55c..337545b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -150,10 +150,11 @@
arch: {
arm64: {
cflags: [
- // Prevent the compiler from optimizing code using SVE, as the
- // baremetal environment might not have configured the hardware.
- "-Xclang -target-feature",
- "-Xclang -sve",
+ // Override the global -march= flag (as set by TARGET_ARCH_VARIANT)
+ // and explicitly use the baseline architecture (ARMv8-A is the first
+ // version with 64-bit support) to avoid emitting potentially
+ // unsupported instructions.
+ "-march=armv8-a",
],
},
},