summaryrefslogtreecommitdiff
path: root/cc
diff options
context:
space:
mode:
author Krzysztof KosiƄski <krzysio@google.com> 2025-03-17 14:39:47 -0700
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-03-17 14:39:47 -0700
commit9c77748ff0a4383a24579e070f77cae3efc55c7d (patch)
treeff255af61cf09abcebebab76db8033fd64a18fed /cc
parent8ecf79ac88d0f2da88472b0cced15735a6b58589 (diff)
parentc4c04007295b94ea2b5057537ba504147b6000e0 (diff)
Merge "Add support for ARMv9.3-A and ARMv9.4-A." into main am: b546854edb am: c4c0400729
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3547150 Change-Id: Ie1bdaa118d9cb326035d32ce496d6abe93b34e5f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'cc')
-rw-r--r--cc/config/arm64_device.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/cc/config/arm64_device.go b/cc/config/arm64_device.go
index 45b15809f..25edb798d 100644
--- a/cc/config/arm64_device.go
+++ b/cc/config/arm64_device.go
@@ -53,6 +53,16 @@ var (
"-mbranch-protection=standard",
"-fno-stack-protector",
},
+ "armv9-3a": []string{
+ "-march=armv9.3-a",
+ "-mbranch-protection=standard",
+ "-fno-stack-protector",
+ },
+ "armv9-4a": []string{
+ "-march=armv9.4-a",
+ "-mbranch-protection=standard",
+ "-fno-stack-protector",
+ },
}
arm64Ldflags = []string{