remove-no-opaque-pointers-flag.patch 780 B

123456789101112131415161718
  1. --- chromium-104.0.5112.57/build/config/compiler/BUILD.gn.orig 2022-07-26 08:11:54.192788877 +0000
  2. +++ chromium-104.0.5112.57/build/config/compiler/BUILD.gn 2022-07-26 08:12:10.019328155 +0000
  3. @@ -1540,15 +1540,6 @@ config("default_warnings") {
  4. cflags += [ "-Wno-unqualified-std-cast-call" ]
  5. }
  6. - if (!is_nacl && !(is_chromeos ||
  7. - default_toolchain == "//build/toolchain/cros:target")) {
  8. - # TODO(https://crbug.com/1322823): Remove flags once potential miscompile is investigated.
  9. - cflags += [
  10. - "-Xclang",
  11. - "-no-opaque-pointers",
  12. - ]
  13. - }
  14. -
  15. if (is_fuchsia) {
  16. # TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383)
  17. cflags += [ "-Wno-deprecated-copy" ]