build: Support ARM build without FPU

95.0.4638.54
klzgrad 2020-07-29 21:43:37 +08:00
parent ca13195646
commit df14a472c5
1 changed files with 1 additions and 1 deletions

View File

@ -1332,7 +1332,7 @@ config("clang_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" ]