From 4ac892e4d1266937a48f77a87bb4d16b86982230 Mon Sep 17 00:00:00 2001 From: Edward Lemur Date: Thu, 18 Oct 2018 00:41:56 +0000 Subject: [PATCH] Use lowercase machine architecture. Bug: 896355 Change-Id: I83a3c27478029d90206b5bb26e26797df47a90f6 Reviewed-on: https://chromium-review.googlesource.com/c/1287244 Reviewed-by: Andrii Shyshkalov Commit-Queue: Edward Lesmes --- detect_host_arch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detect_host_arch.py b/detect_host_arch.py index 3e170eebe..b0dc69314 100755 --- a/detect_host_arch.py +++ b/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':