summaryrefslogtreecommitdiff
path: root/lang/v8/files/patch-build_detect__host__arch.py
diff options
context:
space:
mode:
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'):