Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index f24d9f834105cd758680c4099ef195929d62afe4..4297f5c84a0507dfdc8ae0cd0c2a06205e054e9d 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -42,7 +42,7 @@ |
# else gets passed through, which probably won't work very well; such |
# hosts should pass an explicit target_arch to gyp. |
'host_arch%': |
- '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/")', |
+ '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/mips.*/mips/")', |
}, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" |
'host_arch%': 'ia32', |
}], |
@@ -61,6 +61,7 @@ |
'werror%': '-Werror', |
'conditions': [ |
['(v8_target_arch=="arm" and host_arch!="arm") or \ |
+ (v8_target_arch=="mips" and host_arch!="mips") or \ |
(v8_target_arch=="x64" and host_arch!="x64")', { |
'want_separate_host_toolset': 1, |
}, { |