summaryrefslogtreecommitdiff
path: root/lang/v8/files/patch-build_detect__host__arch.py
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_detect__host__arch.py
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_detect__host__arch.py')
-rw-r--r--lang/v8/files/patch-build_detect__host__arch.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/v8/files/patch-build_detect__host__arch.py b/lang/v8/files/patch-build_detect__host__arch.py
new file mode 100644
index 000000000000..588896662607
--- /dev/null
+++ b/lang/v8/files/patch-build_detect__host__arch.py
@@ -0,0 +1,11 @@
+--- build/detect_host_arch.py.orig 2019-07-24 18:58:02 UTC
++++ build/detect_host_arch.py
+@@ -21,6 +21,8 @@ def HostArch():
+ host_arch = 'ia32'
+ elif host_arch in ['x86_64', 'amd64']:
+ host_arch = 'x64'
++ elif host_arch.startswith('arm64'):
++ host_arch = 'arm64'
+ elif host_arch.startswith('arm'):
+ host_arch = 'arm'
+ elif host_arch.startswith('aarch64'):