Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index a33064df2982f6d4953aadb3e25592a1e5231cc3..7e498acb9399d019fb039bf5c4a21076404e217c 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -4664,7 +4664,10 @@ |
'x86_64' |
], |
}], |
- ['target_arch=="ia32"', { |
+ # Mac builds set ARCHS explicitly to i386. Leave ARCHS unspecified for |
+ # iOS builds, so that Xcode will use the appropriate defaults for |
+ # simulator and device builds, which are different architectures. |
+ ['target_arch=="ia32" and OS!="ios"', { |
'ARCHS': [ |
'i386' |
], |