Index: third_party/mesa/mesa.gyp |
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp |
index 6a905b06e972271b8be96a302f1fbe58c21540a1..9c2dd75db81d6f2264d91e24c8f4c1c3e450f45b 100644 |
--- a/third_party/mesa/mesa.gyp |
+++ b/third_party/mesa/mesa.gyp |
@@ -543,11 +543,18 @@ |
# to warn that -1 is implicitly converted to 255. |
'-Wno-constant-conversion', |
], |
+ 'WARNING_CFLAGS!': [ |
+ # Don't warn about string->bool used in asserts. |
+ '-Wstring-conversion', |
+ ], |
}, |
'cflags': [ |
'-Wno-unused-value', |
'-Wno-constant-conversion', |
], |
+ 'cflags!': [ |
+ '-Wstring-conversion', |
+ ], |
}], |
], |
}, |