Index: third_party/libwebp/BUILD.gn |
diff --git a/third_party/libwebp/BUILD.gn b/third_party/libwebp/BUILD.gn |
index 676a5d1d7bd3fe8f40c8905d663a7055ed8b63ec..859b136c5978bec9136c98574e8fabde1f5aa029 100644 |
--- a/third_party/libwebp/BUILD.gn |
+++ b/third_party/libwebp/BUILD.gn |
@@ -195,7 +195,7 @@ if (use_dsp_neon) { |
# behavior similar to *.c.neon in an Android.mk |
configs -= [ "//build/config/compiler:compiler_arm_fpu" ] |
cflags = [ "-mfpu=neon" ] |
- } else if (current_cpu == "arm64") { |
+ } else if (current_cpu == "arm64" && !is_clang) { |
# avoid an ICE with gcc-4.9: b/15574841 |
cflags = [ "-frename-registers" ] |
} |