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

123456789101112131415161718
  1. --- chromium-102.0.5005.61/build/config/compiler/BUILD.gn.orig 2022-05-19 10:35:52.991415777 +0000
  2. +++ chromium-102.0.5005.61/build/config/compiler/BUILD.gn 2022-05-19 10:36:11.102017131 +0000
  3. @@ -1538,15 +1538,6 @@ config("default_warnings") {
  4. cflags += [ "-Wno-deprecated-non-prototype" ]
  5. }
  6. - if (!is_nacl && !(is_chromeos ||
  7. - default_toolchain == "//build/toolchain/cros:target")) {
  8. - # TODO(https://crbug.com/1316298): Re-enable once test failure is figured out
  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" ]