void-packages/srcpkgs/chromium/patches/llvm-remove-unsupported-compiler-warnings.patch
Peter Bui 28ef4c2b2c chromium: update to 87.0.4280.66.
[ci skip]

- Built for x86_64, x86_64-musl, i686.
- Tested on x86_64.
2020-11-20 03:10:06 +01:00

25 lines
793 B
Diff

--- build/config/compiler/BUILD.gn.orig 2020-11-17 13:39:13.000000000 -0500
+++ build/config/compiler/BUILD.gn 2020-11-18 20:54:58.313154596 -0500
@@ -1536,22 +1530,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" ]
- }
}
}
}