Index: third_party/tcmalloc/BUILD.gn |
diff --git a/third_party/tcmalloc/BUILD.gn b/third_party/tcmalloc/BUILD.gn |
index 1ca5e111da356c105be6b54961a777580ffa8951..09d69a982abcd19cad67fcbccf231761b13d5ace 100644 |
--- a/third_party/tcmalloc/BUILD.gn |
+++ b/third_party/tcmalloc/BUILD.gn |
@@ -32,6 +32,9 @@ config("internal_config") { |
if (is_clang) { |
cflags += [ "-Wno-unused-const-variable" ] |
} |
+ if (current_cpu == "arm" && !is_clang) { |
+ cflags += [ "-Wno-psabi" ] |
+ } |
} |
config("link_config") { |