瀏覽代碼

Use lowercase machine architecture.

Bug: 896355
Change-Id: I83a3c27478029d90206b5bb26e26797df47a90f6
Reviewed-on: https://chromium-review.googlesource.com/c/1287244
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Edward Lemur 6 年之前
父節點
當前提交
4ac892e4d1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      detect_host_arch.py

+ 1 - 1
detect_host_arch.py

@@ -12,7 +12,7 @@ import sys
 
 def HostArch():
   """Returns the host architecture with a predictable string."""
-  host_arch = platform.machine()
+  host_arch = platform.machine().lower()
 
   # Convert machine type to format recognized by gyp.
   if re.match(r'i.86', host_arch) or host_arch == 'i86pc':