Index: chromium-140.0.7339.41/build/config/compiler/BUILD.gn =================================================================== --- chromium-140.0.7339.41.orig/build/config/compiler/BUILD.gn +++ chromium-140.0.7339.41/build/config/compiler/BUILD.gn @@ -2086,7 +2086,9 @@ config("default_warnings") { # Don't warn about "maybe" uninitialized. Clang doesn't include this # in -Wall but gcc does, and it gives false positives. - cflags += [ "-Wno-maybe-uninitialized" ] + if (current_cpu != "ppc64") { + cflags += [ "-Wno-maybe-uninitialized" ] + } cflags += [ "-Wno-deprecated-declarations" ] # -Wcomment gives too many false positives in the case a @@ -2097,7 +2099,9 @@ config("default_warnings") { # -Wpacked-not-aligned complains all generated mojom-shared-internal.h # files. - cflags += [ "-Wno-packed-not-aligned" ] + if (current_cpu != "ppc64") { + cflags += [ "-Wno-packed-not-aligned" ] + } } }