summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-v8_BUILD.gn
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2023-10-22 16:09:40 +0200
committerRobert Nagy <rnagy@FreeBSD.org>2023-10-22 16:10:05 +0200
commit4b821094d143a171f23f71587f5dde095e3597f6 (patch)
treefc406d9d7c3e00c2e7fe3025c5142bb82c50151b /www/iridium/files/patch-v8_BUILD.gn
parentx11/xdg-desktop-portal-hyprland: update to 1.2.3 (diff)
www/iridium: update to 2023.10.118
Diffstat (limited to 'www/iridium/files/patch-v8_BUILD.gn')
-rw-r--r--www/iridium/files/patch-v8_BUILD.gn17
1 files changed, 9 insertions, 8 deletions
diff --git a/www/iridium/files/patch-v8_BUILD.gn b/www/iridium/files/patch-v8_BUILD.gn
index d64a7dfb7a81..b46dbc0820bc 100644
--- a/www/iridium/files/patch-v8_BUILD.gn
+++ b/www/iridium/files/patch-v8_BUILD.gn
@@ -1,6 +1,6 @@
---- v8/BUILD.gn.orig 2023-08-28 20:17:35 UTC
+--- v8/BUILD.gn.orig 2023-10-21 11:51:27 UTC
+++ v8/BUILD.gn
-@@ -1369,6 +1369,14 @@ config("toolchain") {
+@@ -1417,6 +1417,14 @@ config("toolchain") {
} else if (target_os == "chromeos") {
defines += [ "V8_HAVE_TARGET_OS" ]
defines += [ "V8_TARGET_OS_CHROMEOS" ]
@@ -15,10 +15,11 @@
}
# 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",
- ]
+@@ -2378,6 +2386,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",
@@ -27,7 +28,7 @@
}
# This is needed to distinguish between generating code for the simulator
-@@ -5920,7 +5933,7 @@ v8_component("v8_libbase") {
+@@ -6111,7 +6125,7 @@ v8_component("v8_libbase") {
}
}
@@ -36,7 +37,7 @@
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
-@@ -5931,6 +5944,18 @@ v8_component("v8_libbase") {
+@@ -6122,6 +6136,18 @@ v8_component("v8_libbase") {
"dl",
"rt",
]