Index: third_party/mesa/BUILD.gn |
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn |
index 4989a370e460bbca894ed19aeed0669d5bd37412..0b1f828af135357ef9875d145db08bf09b9ff150 100644 |
--- a/third_party/mesa/BUILD.gn |
+++ b/third_party/mesa/BUILD.gn |
@@ -619,12 +619,13 @@ static_library("mesa") { |
configs = [] |
configs = [ ":mesa_internal_config" ] + previous_configs |
- cflags = [] |
- |
if (is_clang) { |
- cflags += [ "-Wno-absolute-value" ] |
+ # Mesa triggers some of these Clang warnings. |
+ configs -= [ "//build/config/clang:extra_warnings" ] |
} |
+ cflags = [] |
+ |
if (is_android && !is_clang) { |
# Disable sincos() optimization to avoid a linker error |
# since Android's math library doesn't have sincos(). |