void-packages/srcpkgs/chromium/patches/llvm-remove-unsupported-com...

42 lines
1.4 KiB
Diff

--- build/config/compiler/BUILD.gn.orig 2020-10-09 11:20:12.892910174 -0400
+++ build/config/compiler/BUILD.gn 2020-10-09 11:59:20.403349122 -0400
@@ -1518,12 +1518,6 @@
# Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not
# recognize.
cflags += [
- # An ABI compat warning we don't care about, https://crbug.com/1102157
- # TODO(thakis): Push this to the (few) targets that need it,
- # instead of having a global flag.
- "-Wno-psabi",
-
- # Ignore warnings about MSVC optimization pragmas.
# TODO(thakis): Only for no_chromium_code? http://crbug.com/912662
"-Wno-ignored-pragma-optimize",
@@ -1538,25 +1532,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",
-
- # TODO(https://crbug.com/1114873): Clean up, enable.
- "-Wno-string-concatenation",
]
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" ]
- }
}
}
}