Index: third_party/tcmalloc/BUILD.gn |
diff --git a/third_party/tcmalloc/BUILD.gn b/third_party/tcmalloc/BUILD.gn |
index e970559edaf15db86b1f2d0d71e06de051d5e172..ec423beb0dcc1fc51fabe841dc4c4638d0477915 100644 |
--- a/third_party/tcmalloc/BUILD.gn |
+++ b/third_party/tcmalloc/BUILD.gn |
@@ -105,6 +105,12 @@ source_set("tcmalloc") { |
"-fpermissive", |
] |
+ if (!is_clang && current_cpu == "x86") { |
+ cflags += [ |
+ "-Wno-format" |
+ ] |
+ } |
+ |
set_sources_assignment_filter([ |
# No debug allocator. |
"gperftools/src/debugallocation.cc", |