Skip to content

Commit

Permalink
build: Support ARM build without FPU
Browse files Browse the repository at this point in the history
  • Loading branch information
klzgrad committed Mar 30, 2022
1 parent 2c44fd6 commit 9df671f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,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" ]
Expand Down

0 comments on commit 9df671f

Please sign in to comment.