diff options
author | Robert Nagy <rnagy@FreeBSD.org> | 2023-08-29 05:51:47 +0000 |
---|---|---|
committer | Robert Nagy <rnagy@FreeBSD.org> | 2023-08-29 05:53:56 +0000 |
commit | a85033ec33648cd2e980a698b97e9bcec1e7369e (patch) | |
tree | 6d45c39b3dcb2552d642b95d0af3909b489e718e /www/iridium/files/patch-build_config_compiler_BUILD.gn | |
parent | 95869f494a616e9ac469eb83f115852ffcdaaeb8 (diff) | |
download | ports-a85033ec33648cd2e980a698b97e9bcec1e7369e.tar.gz ports-a85033ec33648cd2e980a698b97e9bcec1e7369e.zip |
www/iridium: update to 2023.08.116
(cherry picked from commit 5c66c6e7babd575ed1dc76d546dd9418452ea02d)
Diffstat (limited to 'www/iridium/files/patch-build_config_compiler_BUILD.gn')
-rw-r--r-- | www/iridium/files/patch-build_config_compiler_BUILD.gn | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/www/iridium/files/patch-build_config_compiler_BUILD.gn b/www/iridium/files/patch-build_config_compiler_BUILD.gn index 1bf36cffe69b..d9028d25faba 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 2023-07-24 14:27:53 UTC +--- build/config/compiler/BUILD.gn.orig 2023-08-28 20:17:35 UTC +++ build/config/compiler/BUILD.gn @@ -249,13 +249,16 @@ config("default_include_dirs") { # Compiler instrumentation can introduce dependencies in DSOs to symbols in @@ -18,7 +18,7 @@ } # compiler --------------------------------------------------------------------- -@@ -302,7 +305,9 @@ config("compiler") { +@@ -303,7 +306,9 @@ config("compiler") { configs += [ # See the definitions below. @@ -28,7 +28,7 @@ ":compiler_codegen", ":compiler_deterministic", ] -@@ -495,6 +500,10 @@ config("compiler") { +@@ -498,6 +503,10 @@ config("compiler") { } } @@ -39,7 +39,7 @@ # Linux-specific compiler flags setup. # ------------------------------------ if (use_gold) { -@@ -818,7 +827,7 @@ config("compiler") { +@@ -825,7 +834,7 @@ config("compiler") { # * Apple platforms (e.g. MacOS, iPhone, iPad) aren't supported because xcode # lldb doesn't have the needed changes yet. # TODO(crbug.com/1379070): Remove if the upstream default ever changes. @@ -48,7 +48,7 @@ cflags_cc += [ "-gsimple-template-names" ] } -@@ -1053,7 +1062,7 @@ config("compiler_cpu_abi") { +@@ -1067,7 +1076,7 @@ config("compiler_cpu_abi") { ] } } else if (current_cpu == "arm") { @@ -57,7 +57,7 @@ !(is_chromeos_lacros && is_chromeos_device)) { cflags += [ "--target=arm-linux-gnueabihf" ] ldflags += [ "--target=arm-linux-gnueabihf" ] -@@ -1068,7 +1077,7 @@ config("compiler_cpu_abi") { +@@ -1082,7 +1091,7 @@ config("compiler_cpu_abi") { cflags += [ "-mtune=$arm_tune" ] } } else if (current_cpu == "arm64") { @@ -66,7 +66,7 @@ !(is_chromeos_lacros && is_chromeos_device)) { cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] -@@ -1414,6 +1423,27 @@ config("compiler_deterministic") { +@@ -1428,6 +1437,27 @@ config("compiler_deterministic") { } } @@ -94,7 +94,7 @@ config("rustc_revision") { if (rustc_revision != "") { # Similar to the above config, this is here so that all files get recompiled -@@ -1632,7 +1662,7 @@ config("default_warnings") { +@@ -1656,7 +1686,7 @@ config("default_warnings") { "-Wno-ignored-pragma-optimize", ] @@ -103,7 +103,7 @@ cflags += [ # TODO(crbug.com/1343975) Evaluate and possibly enable. "-Wno-deprecated-builtins", -@@ -1809,7 +1839,7 @@ config("no_chromium_code") { +@@ -1845,7 +1875,7 @@ config("no_chromium_code") { # third-party libraries. "-Wno-c++11-narrowing", ] @@ -112,7 +112,7 @@ cflags += [ # Disabled for similar reasons as -Wunused-variable. "-Wno-unused-but-set-variable", -@@ -2093,8 +2123,7 @@ config("default_stack_frames") { +@@ -2129,8 +2159,7 @@ config("default_stack_frames") { } # Default "optimization on" config. @@ -122,7 +122,7 @@ if (is_win) { if (chrome_pgo_phase != 2) { # Favor size over speed, /O1 must be before the common flags. -@@ -2153,8 +2182,7 @@ config("xoptimize") { +@@ -2189,8 +2218,7 @@ config("xoptimize") { } # Turn off optimizations. @@ -132,7 +132,7 @@ if (is_win) { cflags = [ "/Od", # Disable optimization. -@@ -2194,8 +2222,7 @@ config("xno_optimize") { +@@ -2230,8 +2258,7 @@ config("xno_optimize") { # Turns up the optimization level. On Windows, this implies whole program # optimization and link-time code generation which is very expensive and should # be used sparingly. @@ -142,7 +142,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2228,8 +2255,7 @@ config("xoptimize_max") { +@@ -2264,8 +2291,7 @@ config("xoptimize_max") { # # TODO(crbug.com/621335) - rework how all of these configs are related # so that we don't need this disclaimer. @@ -152,7 +152,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2255,8 +2281,7 @@ config("xoptimize_speed") { +@@ -2291,8 +2317,7 @@ config("xoptimize_speed") { } } @@ -162,7 +162,7 @@ cflags = [ "-O1" ] + common_optimize_on_cflags rustflags = [ "-Copt-level=1" ] ldflags = common_optimize_on_ldflags -@@ -2324,7 +2349,7 @@ config("afdo_optimize_size") { +@@ -2360,7 +2385,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") { @@ -171,7 +171,7 @@ cflags = [] if (clang_emit_debug_info_for_profiling) { # Add the following flags to generate debug info for profiling. -@@ -2343,7 +2368,7 @@ config("afdo") { +@@ -2379,7 +2404,7 @@ config("afdo") { } inputs = [ _clang_sample_profile ] } @@ -180,7 +180,7 @@ cflags = [ "-fauto-profile=${auto_profile_path}" ] inputs = [ auto_profile_path ] } -@@ -2381,8 +2406,7 @@ config("win_pdbaltpath") { +@@ -2417,8 +2442,7 @@ config("win_pdbaltpath") { } # Full symbols. @@ -190,7 +190,7 @@ rustflags = [] if (is_win) { if (is_clang) { -@@ -2502,7 +2526,8 @@ config("xsymbols") { +@@ -2538,7 +2562,8 @@ config("xsymbols") { configs += [ "//build/config:compress_debug_sections" ] } @@ -200,7 +200,7 @@ if (is_apple) { # TODO(https://crbug.com/1050118): Investigate missing debug info on mac. # Make sure we don't use constructor homing on mac. -@@ -2525,8 +2550,7 @@ config("xsymbols") { +@@ -2561,8 +2586,7 @@ config("xsymbols") { # Minimal symbols. # This config guarantees to hold symbol for stack trace which are shown to user # when crash happens in unittests running on buildbot. @@ -210,7 +210,7 @@ rustflags = [] if (is_win) { # Functions, files, and line tables only. -@@ -2611,8 +2635,7 @@ config("xminimal_symbols") { +@@ -2647,8 +2671,7 @@ config("xminimal_symbols") { # This configuration contains function names only. That is, the compiler is # told to not generate debug information and the linker then just puts function # names in the final debug information. |