Index: skia/BUILD.gn |
diff --git a/skia/BUILD.gn b/skia/BUILD.gn |
index 12ced6b5a838ec7777044d60a2b71988a7a1e907..89ef514586a932c4895fd69fb2de201f2e039acd 100644 |
--- a/skia/BUILD.gn |
+++ b/skia/BUILD.gn |
@@ -476,7 +476,7 @@ source_set("skia_opts") { |
if (is_linux || is_mac) { |
cflags += [ "-msse4.1" ] |
} |
- } else if (current_cpu == "arm") { |
+ } else if (current_cpu == "arm" || current_cpu == "arm64") { |
# The assembly uses the frame pointer register (r7 in Thumb/r11 in |
# ARM), the compiler doesn't like that. |
cflags += [ "-fomit-frame-pointer" ] |