Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index 7952bdca90dd28bc83dc71a8d617745a9b55944f..7670e5bead5793efd6ef9fa7480fb2a619cd86d0 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -51,7 +51,13 @@ |
# Anything else gets passed through, which probably won't work |
# very well; such hosts should pass an explicit target_arch |
# to gyp. |
- 'host_arch%': '<!pymod_do_main(detect_v8_host_arch)', |
+ 'host_arch%': |
+ '<!(uname -m | sed -e "s/i.86/ia32/;\ |
+ s/x86_64/x64/;\ |
+ s/amd64/x64/;\ |
+ s/arm.*/arm/;\ |
+ s/aarch64/arm64/;\ |
+ s/mips.*/mipsel/")', |
}, { |
# OS!="linux" and OS!="freebsd" and OS!="openbsd" and |
# OS!="netbsd" and OS!="mac" |