Skip to content

Commit 9ca9d2d

Browse files
maade93791thestinger
authored andcommitted
android: use more basic CPU target for memtag
This is required for hardened_malloc to work in microdroid on MTE-enabled devices (currently, 8th and 9th generation Pixels) since PVMFW only supports ARMv8 cores. https://android.googlesource.com/platform/packages/modules/Virtualization/+/refs/tags/android-15.0.0_r1/pvmfw/platform.dts#100
1 parent 3f07acf commit 9ca9d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Android.bp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ cc_library {
7474
cflags: ["-DLABEL_MEMORY"],
7575
},
7676
device_has_arm_mte: {
77-
cflags: ["-DHAS_ARM_MTE", "-march=armv9-a+memtag"]
77+
cflags: ["-DHAS_ARM_MTE", "-march=armv8-a+dotprod+memtag"]
7878
},
7979
},
8080
apex_available: [

0 commit comments

Comments
 (0)