Enable BTI for Linux on Arm targets

Branch protection has already been successfully deployed on Android and
over time more Linux distros are moving to supporting branch hardening,
E.g. Debian.

This CL adds the necessary flags to compile the runtimes with PAC/BTI.

Bug: 40053781
Change-Id: I1b62bab7a86158e2ef3aa2d96b30bb9ac230a4d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7172496
Reviewed-by: Devon Loehr <[email protected]>
Commit-Queue: Hans Wennborg <[email protected]>
Reviewed-by: Hans Wennborg <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1553022}
NOKEYCHECK=True
GitOrigin-RevId: b885f913cfed22d995cf79149cd02f558f570199
2 files changed