chromium-browser-stable-test/chromium-54-no-deprecated-error.patch
2016-12-06 20:18:59 +03:00

18 lines
617 B
Diff

diff -urN chromium-54.0.2840.100/base/BUILD.gn chromium-54.0.2840.100-patched/base/BUILD.gn
--- chromium-54.0.2840.100/base/BUILD.gn 2016-11-11 06:02:09.000000000 +1000
+++ chromium-54.0.2840.100-patched/base/BUILD.gn 2016-11-16 15:18:19.361838354 +1000
@@ -45,13 +45,7 @@
}
config("base_flags") {
- if (is_clang) {
- cflags = [
- # Don't die on dtoa code that uses a char as an array index.
- # This is required solely for base/third_party/dmg_fp/dtoa_wrapper.cc.
- "-Wno-char-subscripts",
- ]
- }
+ cflags = [ "-Wno-error=deprecated-declarations" ]
}
config("base_implementation") {