summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-v8_BUILD.gn
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2023-09-17 19:51:44 +0200
committerRobert Nagy <rnagy@FreeBSD.org>2023-09-17 21:44:52 +0200
commite427079cbffb0bb4abf9b718da2f9a421db021d3 (patch)
tree482bfd72d9a4342021c35f71a4886d0d3b174e80 /www/ungoogled-chromium/files/patch-v8_BUILD.gn
parentmath/cvc5: update 1.0.5 → 1.0.8 (diff)
www/ungoogled-chromium: update to 117.0.5938.88
Security: https://vuxml.freebsd.org/freebsd/88754d55-521a-11ee-8290-a8a1599412c6.html
Diffstat (limited to 'www/ungoogled-chromium/files/patch-v8_BUILD.gn')
-rw-r--r--www/ungoogled-chromium/files/patch-v8_BUILD.gn27
1 files changed, 20 insertions, 7 deletions
diff --git a/www/ungoogled-chromium/files/patch-v8_BUILD.gn b/www/ungoogled-chromium/files/patch-v8_BUILD.gn
index 6bc3bcc9d932..c0e919840880 100644
--- a/www/ungoogled-chromium/files/patch-v8_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-v8_BUILD.gn
@@ -1,6 +1,6 @@
---- v8/BUILD.gn.orig 2023-08-18 10:26:52 UTC
+--- v8/BUILD.gn.orig 2023-09-17 07:59:53 UTC
+++ v8/BUILD.gn
-@@ -1369,6 +1369,14 @@ config("toolchain") {
+@@ -1404,6 +1404,14 @@ config("toolchain") {
} else if (target_os == "chromeos") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_CHROMEOS" ]
@@ -15,9 +15,9 @@
}
# TODO(infra): Support v8_enable_prof on Windows.
-@@ -2295,6 +2303,11 @@ template("run_mksnapshot") {
- # list of builtins with incompatible profiles.
- "--abort-on-bad-builtin-profile-data",
+@@ -2331,6 +2339,11 @@ template("run_mksnapshot") {
+ "--turbo-log-builtins-count-input",
+ v8_log_builtins_block_count_input,
]
+ if (v8_current_cpu == "x86") {
+ args -= [
@@ -26,8 +26,21 @@
+ }
}
+ if (v8_enable_builtins_profiling) {
+@@ -2353,6 +2366,12 @@ template("run_mksnapshot") {
+ if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) {
+ args += [ "--reorder-builtins" ]
+ }
++
++ if (v8_current_cpu == "x86") {
++ args -= [
++ "--abort-on-bad-builtin-profile-data",
++ ]
++ }
+ }
+
# This is needed to distinguish between generating code for the simulator
-@@ -5920,7 +5933,7 @@ v8_component("v8_libbase") {
+@@ -6081,7 +6100,7 @@ v8_component("v8_libbase") {
}
}
@@ -36,7 +49,7 @@
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
-@@ -5931,6 +5944,18 @@ v8_component("v8_libbase") {
+@@ -6092,6 +6111,18 @@ v8_component("v8_libbase") {
"dl",
"rt",
]