diff --git a/src/build/config/compiler/BUILD.gn b/src/build/config/compiler/BUILD.gn index a4efd9777b..8c61c7b7a1 100644 --- a/src/build/config/compiler/BUILD.gn +++ b/src/build/config/compiler/BUILD.gn @@ -1674,7 +1674,7 @@ config("rustc_revision") { } config("compiler_arm_fpu") { - if (current_cpu == "arm" && !is_ios && !is_nacl) { + if (current_cpu == "arm" && !is_ios && !is_nacl && arm_fpu != "") { cflags = [ "-mfpu=$arm_fpu" ] if (!arm_use_thumb) { cflags += [ "-marm" ]