void-packages/srcpkgs/chromium/patches/llvm-remove-unsupported-compiler-warnings.patch
Peter Bui 650601d57e chromium: update to 85.0.4183.83.
[ci skip]

- Built for i686, x86_64, x86_64-musl.
- Tested on x86_64.

- Use bundled libvpx (doesn't build with system library).
- Update sndio patch from @Johnnynator
2020-09-08 13:08:12 -07:00

25 lines
793 B
Diff

--- build/config/compiler/BUILD.gn.orig 2020-08-24 17:40:22.000000000 -0400
+++ build/config/compiler/BUILD.gn 2020-08-30 13:37:51.834404370 -0400
@@ -1512,22 +1512,12 @@
# TODO(https://crbug.com/1028110): Evaluate and possible enable.
"-Wno-deprecated-copy",
-
- # TODO(https://crbug.com/1050281): Clean up, enable.
- "-Wno-non-c-typedef-for-linkage",
]
cflags_c += [
# TODO(https://crbug.com/995993): Clean up and enable.
"-Wno-implicit-fallthrough",
]
-
- if (enable_wmax_tokens) {
- cflags += [ "-Wmax-tokens" ]
- } else {
- # TODO(https://crbug.com/1049569): Remove after Clang 87b235db.
- cflags += [ "-Wno-max-tokens" ]
- }
}
}
}