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 345284620bd1..66c08d46c983 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 2022-08-31 12:19:35 UTC
+--- build/config/compiler/BUILD.gn.orig 2022-09-24 10:57:32 UTC
+++ build/config/compiler/BUILD.gn
-@@ -231,13 +231,16 @@ config("default_include_dirs") {
+@@ -222,13 +222,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") {
@@ -18,7 +18,7 @@
}
# compiler ---------------------------------------------------------------------
-@@ -461,6 +464,10 @@ config("compiler") {
+@@ -452,6 +455,10 @@ config("compiler") {
}
}
@@ -29,7 +29,7 @@
# Linux-specific compiler flags setup.
# ------------------------------------
if (use_gold) {
-@@ -536,7 +543,7 @@ config("compiler") {
+@@ -527,7 +534,7 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
@@ -38,7 +38,7 @@
cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
# TODO(hans): Remove this once Clang generates better optimized debug info
-@@ -900,7 +907,7 @@ config("compiler_cpu_abi") {
+@@ -891,7 +898,7 @@ config("compiler_cpu_abi") {
]
}
} else if (current_cpu == "arm") {
@@ -47,7 +47,7 @@
!(is_chromeos_lacros && is_chromeos_device)) {
cflags += [ "--target=arm-linux-gnueabihf" ]
ldflags += [ "--target=arm-linux-gnueabihf" ]
-@@ -915,7 +922,7 @@ config("compiler_cpu_abi") {
+@@ -906,7 +913,7 @@ config("compiler_cpu_abi") {
cflags += [ "-mtune=$arm_tune" ]
}
} else if (current_cpu == "arm64") {
@@ -56,7 +56,7 @@
!(is_chromeos_lacros && is_chromeos_device)) {
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
-@@ -1243,7 +1250,7 @@ config("compiler_deterministic") {
+@@ -1234,7 +1241,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.
@@ -65,16 +65,16 @@
# TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here.
cflags += [
"-Xclang",
-@@ -1534,7 +1541,7 @@ config("default_warnings") {
- "-Wno-ignored-pragma-optimize",
- ]
+@@ -1532,7 +1539,7 @@ config("default_warnings") {
+ ]
+ }
- if (!is_nacl) {
+ if (!is_nacl && !is_bsd) {
- # TODO(https://crbug.com/1300731) Clean up and enable.
- cflags += [ "-Wno-unqualified-std-cast-call" ]
-
-@@ -1727,7 +1734,7 @@ config("no_chromium_code") {
+ cflags += [
+ # TODO(crbug.com/1343975) Evaluate and possibly enable.
+ "-Wno-deprecated-builtins",
+@@ -1705,7 +1712,7 @@ config("no_chromium_code") {
# third-party libraries.
"-Wno-c++11-narrowing",
]
@@ -83,7 +83,7 @@
cflags += [
# Disabled for similar reasons as -Wunused-variable.
"-Wno-unused-but-set-variable",
-@@ -2241,7 +2248,7 @@ config("afdo_optimize_size") {
+@@ -2219,7 +2226,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") {
@@ -92,7 +92,7 @@
cflags = []
if (clang_emit_debug_info_for_profiling) {
# Add the following flags to generate debug info for profiling.
-@@ -2257,7 +2264,7 @@ config("afdo") {
+@@ -2235,7 +2242,7 @@ config("afdo") {
cflags += [ "-fprofile-sample-use=${rebased_clang_sample_profile}" ]
inputs = [ _clang_sample_profile ]
}
@@ -101,7 +101,7 @@
cflags = [ "-fauto-profile=${auto_profile_path}" ]
inputs = [ auto_profile_path ]
}
-@@ -2397,7 +2404,8 @@ config("symbols") {
+@@ -2375,7 +2382,8 @@ config("symbols") {
}
}