mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
android: enable MTE on devices that declare having it
This commit is contained in:
parent
f042a6b9b0
commit
5137d2da4d
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ cc_library {
|
||||||
debuggable: {
|
debuggable: {
|
||||||
cflags: ["-DLABEL_MEMORY"],
|
cflags: ["-DLABEL_MEMORY"],
|
||||||
},
|
},
|
||||||
|
device_has_arm_mte: {
|
||||||
|
cflags: ["-DHAS_ARM_MTE", "-march=armv9-a+memtag"]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
apex_available: [
|
apex_available: [
|
||||||
"com.android.runtime",
|
"com.android.runtime",
|
||||||
|
|
Loading…
Add table
Reference in a new issue