summaryrefslogtreecommitdiffstats
path: root/build/config/mac/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'build/config/mac/BUILD.gn')
-rw-r--r--build/config/mac/BUILD.gn12
1 files changed, 6 insertions, 6 deletions
diff --git a/build/config/mac/BUILD.gn b/build/config/mac/BUILD.gn
index af1fbbc..56e101c 100644
--- a/build/config/mac/BUILD.gn
+++ b/build/config/mac/BUILD.gn
@@ -24,16 +24,16 @@ config("compiler") {
"-arch",
"i386",
]
- } else if (current_cpu == "arm") {
- # TODO(GYP): we may need to distinguish between "arm64", "armv7",
- # and "armv7s" for iOS, and hence need multiple current_cpu values
- # rather than just "arm".
+ } else if (current_cpu == "armv7" || current_cpu == "arm") {
common_mac_flags += [
"-arch",
- "arm64",
- "-arch",
"armv7",
]
+ } else if (current_cpu == "arm64") {
+ common_mac_flags += [
+ "-arch",
+ "arm64",
+ ]
}
asmflags = common_mac_flags