aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-build_config_compiler_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-build_config_compiler_BUILD.gn')
-rw-r--r--www/iridium/files/patch-build_config_compiler_BUILD.gn28
1 files changed, 14 insertions, 14 deletions
diff --git a/www/iridium/files/patch-build_config_compiler_BUILD.gn b/www/iridium/files/patch-build_config_compiler_BUILD.gn
index faa794dcc771..50385d65e4d5 100644
--- a/www/iridium/files/patch-build_config_compiler_BUILD.gn
+++ b/www/iridium/files/patch-build_config_compiler_BUILD.gn
@@ -1,4 +1,4 @@
---- build/config/compiler/BUILD.gn.orig 2025-05-07 13:10:49 UTC
+--- build/config/compiler/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+++ build/config/compiler/BUILD.gn
@@ -197,7 +197,7 @@ declare_args() {
# This greatly reduces the size of debug builds, at the cost of
@@ -27,7 +27,7 @@
}
# compiler ---------------------------------------------------------------------
-@@ -508,6 +511,10 @@ config("compiler") {
+@@ -509,6 +512,10 @@ config("compiler") {
}
}
@@ -38,7 +38,7 @@
# Linux-specific compiler flags setup.
# ------------------------------------
if (use_icf && (!is_apple || use_lld)) {
-@@ -567,7 +574,7 @@ config("compiler") {
+@@ -569,7 +576,7 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
@@ -47,7 +47,7 @@
cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
if (save_reproducers_on_lld_crash && use_lld) {
ldflags += [
-@@ -1212,7 +1219,7 @@ config("compiler_cpu_abi") {
+@@ -1227,7 +1234,7 @@ config("compiler_cpu_abi") {
]
}
} else if (current_cpu == "arm") {
@@ -56,7 +56,7 @@
cflags += [ "--target=arm-linux-gnueabihf" ]
ldflags += [ "--target=arm-linux-gnueabihf" ]
}
-@@ -1227,7 +1234,7 @@ config("compiler_cpu_abi") {
+@@ -1242,7 +1249,7 @@ config("compiler_cpu_abi") {
}
} else if (current_cpu == "arm64") {
if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
@@ -65,7 +65,7 @@
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
}
-@@ -1561,7 +1568,7 @@ config("compiler_deterministic") {
+@@ -1576,7 +1583,7 @@ config("compiler_deterministic") {
# different build directory like "out/feature_a" and "out/feature_b" if
# we build same files with same compile flag.
# Other paths are already given in relative, no need to normalize them.
@@ -74,16 +74,16 @@
# TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here.
cflags += [
"-Xclang",
-@@ -1619,7 +1626,7 @@ config("compiler_deterministic") {
+@@ -1634,7 +1641,7 @@ config("compiler_deterministic") {
}
config("clang_revision") {
- if (is_clang && clang_base_path == default_clang_base_path &&
+ if (is_clang && !is_bsd && clang_base_path == default_clang_base_path &&
current_os != "zos") {
- update_args = [
- "--print-revision",
-@@ -1652,7 +1659,7 @@ config("clang_revision") {
+ _perform_consistency_checks = current_toolchain == default_toolchain
+ if (llvm_force_head_revision) {
+@@ -1719,7 +1726,7 @@ config("clang_revision") {
# e.g. by setting in the the project's .gn file.
config("clang_warning_suppression") {
# Some build configs use older versions of clang that don't support WSMs
@@ -92,7 +92,7 @@
!llvm_android_mainline && is_clang &&
clang_warning_suppression_file != "") {
from_build_root =
-@@ -1985,9 +1992,6 @@ config("default_warnings") {
+@@ -2053,9 +2060,6 @@ config("default_warnings") {
# TODO(crbug.com/40284799): Fix and re-enable.
"-Wno-thread-safety-reference-return",
@@ -102,7 +102,7 @@
]
cflags_cc += [
-@@ -2776,7 +2780,7 @@ config("afdo_optimize_size") {
+@@ -2837,7 +2841,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") {
@@ -111,7 +111,7 @@
cflags = []
if (clang_emit_debug_info_for_profiling) {
# Add the following flags to generate debug info for profiling.
-@@ -2803,7 +2807,7 @@ config("afdo") {
+@@ -2864,7 +2868,7 @@ config("afdo") {
cflags += [ "-Wno-backend-plugin" ]
inputs = [ _clang_sample_profile ]
}
@@ -120,7 +120,7 @@
cflags = [ "-fauto-profile=${auto_profile_path}" ]
inputs = [ auto_profile_path ]
}
-@@ -2980,7 +2984,7 @@ config("symbols") {
+@@ -3041,7 +3045,7 @@ config("symbols") {
cflags += [ "-gomit-unreferenced-methods" ]
}