| Index: BUILD.gn
|
| diff --git a/BUILD.gn b/BUILD.gn
|
| index f0f8404b890a1d1f5891b168eadd9f1229104e35..d1e55de16c68e39e1ad9e36df70fb4fc0848aab6 100644
|
| --- a/BUILD.gn
|
| +++ b/BUILD.gn
|
| @@ -16,7 +16,7 @@ config("libyuv_config") {
|
| ]
|
| }
|
|
|
| -use_neon = current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon)
|
| +use_neon = current_cpu == "arm64" || (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon))
|
|
|
| source_set("libyuv") {
|
| sources = [
|
| @@ -125,7 +125,9 @@ if (use_neon) {
|
|
|
| public_configs = [ ":libyuv_config" ]
|
|
|
| - configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
|
| - cflags = [ "-mfpu=neon" ]
|
| + if (current_cpu != "arm64") {
|
| + configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
|
| + cflags = [ "-mfpu=neon" ]
|
| + }
|
| }
|
| }
|
|
|