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
pull/245/head 2024092900-caimito
maade93791 2024-09-09 23:58:08 +03:00 committed by Daniel Micay
parent 3f07acfab1
commit 9ca9d2d925
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ cc_library {
cflags: ["-DLABEL_MEMORY"], cflags: ["-DLABEL_MEMORY"],
}, },
device_has_arm_mte: { device_has_arm_mte: {
cflags: ["-DHAS_ARM_MTE", "-march=armv9-a+memtag"] cflags: ["-DHAS_ARM_MTE", "-march=armv8-a+dotprod+memtag"]
}, },
}, },
apex_available: [ apex_available: [