summaryrefslogtreecommitdiff
path: root/lang/v8/files/patch-build_config_sysroot.gni
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2020-11-20 10:41:13 +0000
committerMikael Urankar <mikael@FreeBSD.org>2020-11-20 10:41:13 +0000
commit9a4ce488e85c4b59c1d2acdfd23cb88b7e9ca198 (patch)
tree84f3b4638ccf347ba91572ef9f96440521ed236f /lang/v8/files/patch-build_config_sysroot.gni
parentnet/concourse-fly: Update to 6.7.1 (diff)
lang/v8: Update to 8.7.220.23
PR: 213202 Reported by: many Approved by: sunpoet (maintainer timeout)
Diffstat (limited to 'lang/v8/files/patch-build_config_sysroot.gni')
-rw-r--r--lang/v8/files/patch-build_config_sysroot.gni14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/v8/files/patch-build_config_sysroot.gni b/lang/v8/files/patch-build_config_sysroot.gni
new file mode 100644
index 000000000000..8b68404769fb
--- /dev/null
+++ b/lang/v8/files/patch-build_config_sysroot.gni
@@ -0,0 +1,14 @@
+--- build/config/sysroot.gni.orig 2020-05-13 18:39:36 UTC
++++ build/config/sysroot.gni
+@@ -21,9 +21,9 @@ declare_args() {
+
+ # Controls default is_linux sysroot. If set to true, and sysroot
+ # is empty, default sysroot is calculated.
+- use_sysroot = current_cpu == "x86" || current_cpu == "x64" ||
++ use_sysroot = !is_bsd && (current_cpu == "x86" || current_cpu == "x64" ||
+ current_cpu == "arm" || current_cpu == "arm64" ||
+- current_cpu == "mipsel" || current_cpu == "mips64el"
++ current_cpu == "mipsel" || current_cpu == "mips64el")
+ }
+
+ if (sysroot == "") {