Index: third_party/binutils/download.py |
diff --git a/third_party/binutils/download.py b/third_party/binutils/download.py |
index 6c86ba82d94dfe5e55caad326c58ecefe1a3ea6f..2d35c44401d36d96c56e6953200e5a0e4576b0fc 100755 |
--- a/third_party/binutils/download.py |
+++ b/third_party/binutils/download.py |
@@ -40,7 +40,7 @@ def WriteFile(filename, content): |
def GetArch(): |
gyp_host_arch = re.search( |
- 'host_arch=([^ ]*)', os.environ.get('GYP_DEFINES', '')) |
+ 'host_arch=(\S*)', os.environ.get('GYP_DEFINES', '')) |
if gyp_host_arch: |
arch = gyp_host_arch.group(1) |
# This matches detect_host_arch.py. |