From 502f901e17c7b3bfc8994562d91c5db6420edc40 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Tue, 16 Jun 2020 02:40:40 -0700 Subject: [PATCH] Prefer armv8.2-a to armv8.2a for GNU as compatibility There are still out-of-tree users of `-fno-integrated-as`, which will have issues without the hyphen. Bug: http://b/158191033 Test: ./build.py Change-Id: I44b68ab5b65a68df3993f38b99662178915e9be2 --- cc/config/arm64_device.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/config/arm64_device.go b/cc/config/arm64_device.go index 93834630c..62d8cc8fb 100644 --- a/cc/config/arm64_device.go +++ b/cc/config/arm64_device.go @@ -32,7 +32,7 @@ var ( "-march=armv8-a", }, "armv8-2a": []string{ - "-march=armv8.2a", + "-march=armv8.2-a", }, }