diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn index 91de2025d..873f0795f 100644 --- a/third_party/libpng/BUILD.gn +++ b/third_party/libpng/BUILD.gn @@ -4,6 +4,9 @@ config("libpng_config") { include_dirs = [ "src" ] + if (is_clang) { + cflags = [ "-Wno-tautological-constant-out-of-range-compare" ] + } } static_library("libpng") {