Index: third_party/freetype/BUILD.gn |
diff --git a/third_party/freetype/BUILD.gn b/third_party/freetype/BUILD.gn |
index b2f02d3aa70bd919d8ba7cd2949976476f460255..eaeb6c1299be1dc8fc7774c543f9d3042c45df1e 100644 |
--- a/third_party/freetype/BUILD.gn |
+++ b/third_party/freetype/BUILD.gn |
@@ -17,7 +17,14 @@ config("freetype-warnings") { |
if (is_clang) { |
# The reduction of FreeType files to a minimum triggers -Wunused-function |
# warnings in ftbase.c |
- cflags += [ "-Wno-unused-function" ] |
+ |
+ # "-Wno-int-to-pointer-cast" tracked by |
+ # https://savannah.nongnu.org/bugs/index.php?50560, |
+ # TODO(drott): Remove this once we roll past 7aeee3c50f2656b65f. |
+ cflags += [ |
+ "-Wno-unused-function", |
+ "-Wno-int-to-pointer-cast", |
+ ] |
} |
} |