cef/patch/patches/linux_glib_deprecated_volatile.patch
Marshall Greenblatt d4cf19db29 Update to Chromium version 123.0.6312.0 (#1262506)
- MacOS ARM64 Official builds are currently failing due to
  https://issues.chromium.org/issues/326898585
2024-02-26 12:08:55 -05:00

29 lines
729 B
Diff

diff --git ui/accessibility/platform/BUILD.gn ui/accessibility/platform/BUILD.gn
index fc99800e70eb2..23d38bf15155f 100644
--- ui/accessibility/platform/BUILD.gn
+++ ui/accessibility/platform/BUILD.gn
@@ -290,6 +290,10 @@ component("platform") {
if (use_gio) {
configs += [ "//build/linux:gio_config" ]
}
+
+ if (is_clang) {
+ cflags = [ "-Wno-deprecated-volatile" ]
+ }
}
}
}
diff --git ui/gtk/BUILD.gn ui/gtk/BUILD.gn
index 24f32893160ad..3315d46b4a910 100644
--- ui/gtk/BUILD.gn
+++ ui/gtk/BUILD.gn
@@ -175,4 +175,8 @@ component("gtk") {
# TODO: This should be removed.
deps += [ "//ui/ozone" ]
+
+ if (is_clang) {
+ cflags = [ "-Wno-deprecated-volatile" ]
+ }
}