diff options
Diffstat (limited to 'build/config')
-rw-r--r-- | build/config/arm.gni | 5 | ||||
-rw-r--r-- | build/config/mac/BUILD.gn | 12 |
2 files changed, 6 insertions, 11 deletions
diff --git a/build/config/arm.gni b/build/config/arm.gni index d9d2eae..4fd4006 100644 --- a/build/config/arm.gni +++ b/build/config/arm.gni @@ -23,11 +23,6 @@ if (current_cpu == "arm") { # Whether to enable optional NEON code paths. arm_optionally_use_neon = false - - if (is_ios) { - arm_use_neon = false - arm_optionally_use_neon = false - } } assert(arm_float_abi == "" || arm_float_abi == "hard" || 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 |