ports/www/chromium/files/patch-build_config_v8__target__cpu.gni
Rene Ladan a23dfd214a www/chromium: update to 98.0.4758.102
- The port now uses the combined patch set for OpenBSD and FreeBSD
  maintained by Robert Nagy.
- Fix build on i386 again.
Obtained from:	Robert Nagy <robert@openbsd.org>
Security:	https://vuxml.freebsd.org/freebsd/e12432af-8e73-11ec-8bc4-3065ec8fd3ec.html
Security:	https://vuxml.freebsd.org/freebsd/e852f43c-846e-11ec-b043-3065ec8fd3ec.html
2022-02-20 12:42:02 +01:00

13 lines
625 B
Text

--- build/config/v8_target_cpu.gni.orig 2022-02-07 13:39:41 UTC
+++ build/config/v8_target_cpu.gni
@@ -36,6 +36,10 @@ declare_args() {
if (v8_target_cpu == "") {
if (current_toolchain == "//build/toolchain/linux:clang_x64_v8_arm64") {
v8_target_cpu = "arm64"
+ } else if (current_toolchain == "//build/toolchain/openbsd:clang_arm64") {
+ v8_target_cpu = "arm64"
+ } else if (current_toolchain == "//build/toolchain/freebsd:clang_arm64") {
+ v8_target_cpu = "arm64"
} else if (current_toolchain == "//build/toolchain/linux:clang_x86_v8_arm") {
v8_target_cpu = "arm"
} else if (current_toolchain ==