Index: third_party/mesa/BUILD.gn |
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn |
index 22f898fc27bd77126f0ae386880570bd5700384a..d4b1f99230975ece4d66919fcc78439f41c009ef 100644 |
--- a/third_party/mesa/BUILD.gn |
+++ b/third_party/mesa/BUILD.gn |
@@ -129,6 +129,9 @@ config("mesa_internal_warnings") { |
# mesa's STATIC_ASSERT() macro expands to an ununused typedef. |
"-Wno-unused-local-typedef", |
+ |
+ # mesa's flex scanner code uses "register" a lot. |
+ "-Wno-deprecated-register", |
] |
} |
if (is_win) { |