aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_config_compiler_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-build_config_compiler_BUILD.gn')
-rw-r--r--www/chromium/files/patch-build_config_compiler_BUILD.gn34
1 files changed, 17 insertions, 17 deletions
diff --git a/www/chromium/files/patch-build_config_compiler_BUILD.gn b/www/chromium/files/patch-build_config_compiler_BUILD.gn
index a4410d921ba7..2697bcdce5c7 100644
--- a/www/chromium/files/patch-build_config_compiler_BUILD.gn
+++ b/www/chromium/files/patch-build_config_compiler_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/compiler/BUILD.gn.orig 2025-09-06 10:01:20 UTC
+--- build/config/compiler/BUILD.gn.orig 2025-10-02 04:28:32 UTC
+++ build/config/compiler/BUILD.gn
-@@ -194,7 +194,7 @@ declare_args() {
+@@ -193,7 +193,7 @@ declare_args() {
# This greatly reduces the size of debug builds, at the cost of
# debugging information which is required by some specialized
# debugging tools.
@@ -9,16 +9,16 @@
# This switch is used to enable -Wexit-time-destructors by default. This
# warning serves as a flip switch to allow a gradual migration of targets
-@@ -272,7 +272,7 @@ assert(!(llvm_force_head_revision && use_remoteexec &&
+@@ -268,7 +268,7 @@ assert(!(llvm_force_head_revision && use_remoteexec &&
# Since this is referenced both when passing the file and when deciding which
# warnings to enable, store it in a separate variable here.
use_clang_warning_suppression_file =
-- default_toolchain != "//build/toolchain/cros:target" &&
-+ !is_bsd && default_toolchain != "//build/toolchain/cros:target" &&
- !llvm_android_mainline && is_clang && clang_warning_suppression_file != ""
+- !llvm_android_mainline && is_clang && clang_warning_suppression_file != ""
++ !is_bsd && !llvm_android_mainline && is_clang && clang_warning_suppression_file != ""
# default_include_dirs ---------------------------------------------------------
-@@ -290,13 +290,16 @@ config("default_include_dirs") {
+ #
+@@ -285,13 +285,16 @@ config("default_include_dirs") {
# Compiler instrumentation can introduce dependencies in DSOs to symbols in
# the executable they are loaded into, so they are unresolved at link-time.
config("no_unresolved_symbols") {
@@ -36,7 +36,7 @@
}
# compiler ---------------------------------------------------------------------
-@@ -564,6 +567,10 @@ config("compiler") {
+@@ -559,6 +562,10 @@ config("compiler") {
}
}
@@ -47,7 +47,7 @@
# Linux-specific compiler flags setup.
# ------------------------------------
if (use_icf && (!is_apple || use_lld)) {
-@@ -639,7 +646,7 @@ config("compiler") {
+@@ -634,7 +641,7 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
@@ -56,7 +56,7 @@
cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
if (save_reproducers_on_lld_crash && use_lld) {
ldflags += [
-@@ -1281,7 +1288,7 @@ config("compiler_cpu_abi") {
+@@ -1274,7 +1281,7 @@ config("compiler_cpu_abi") {
# CPU architecture. We may or may not be doing a cross compile now, so for
# simplicity we always explicitly set the architecture.
if (current_cpu == "x64") {
@@ -65,7 +65,7 @@
cflags += [ "--target=x86_64-unknown-linux-gnu" ]
ldflags += [ "--target=x86_64-unknown-linux-gnu" ]
} else {
-@@ -1290,7 +1297,7 @@ config("compiler_cpu_abi") {
+@@ -1283,7 +1290,7 @@ config("compiler_cpu_abi") {
}
cflags += [ "-msse3" ]
} else if (current_cpu == "x86") {
@@ -74,7 +74,7 @@
cflags += [ "--target=i386-unknown-linux-gnu" ]
ldflags += [ "--target=i386-unknown-linux-gnu" ]
} else {
-@@ -1302,7 +1309,7 @@ config("compiler_cpu_abi") {
+@@ -1295,7 +1302,7 @@ config("compiler_cpu_abi") {
"-msse3",
]
} else if (current_cpu == "arm") {
@@ -83,7 +83,7 @@
cflags += [ "--target=arm-linux-gnueabihf" ]
ldflags += [ "--target=arm-linux-gnueabihf" ]
}
-@@ -1314,7 +1321,7 @@ config("compiler_cpu_abi") {
+@@ -1307,7 +1314,7 @@ config("compiler_cpu_abi") {
cflags += [ "-mtune=$arm_tune" ]
}
} else if (current_cpu == "arm64") {
@@ -92,7 +92,7 @@
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
}
-@@ -1713,7 +1720,7 @@ config("compiler_deterministic") {
+@@ -1706,7 +1713,7 @@ config("compiler_deterministic") {
}
config("clang_revision") {
@@ -101,7 +101,7 @@
current_os != "zos") {
_perform_consistency_checks = current_toolchain == default_toolchain
if (llvm_force_head_revision) {
-@@ -2134,9 +2141,6 @@ config("default_warnings") {
+@@ -2128,9 +2135,6 @@ config("default_warnings") {
# TODO(crbug.com/40284799): Fix and re-enable.
"-Wno-thread-safety-reference-return",
@@ -111,7 +111,7 @@
]
cflags_cc += [
-@@ -2920,7 +2924,7 @@ config("afdo_optimize_size") {
+@@ -2915,7 +2919,7 @@ config("afdo_optimize_size") {
# There are some targeted places that AFDO regresses, so we provide a separate
# config to allow AFDO to be disabled per-target.
config("afdo") {
@@ -120,7 +120,7 @@
cflags = []
if (clang_emit_debug_info_for_profiling) {
# Add the following flags to generate debug info for profiling.
-@@ -2947,7 +2951,7 @@ config("afdo") {
+@@ -2942,7 +2946,7 @@ config("afdo") {
cflags += [ "-Wno-backend-plugin" ]
inputs = [ _clang_sample_profile ]
}