diff options
| -rw-r--r-- | meta/classes-recipe/rust-target-config.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 0df6f0904c..8ab5317c3f 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass | |||
| @@ -409,7 +409,7 @@ def rust_gen_target(d, thing, wd, arch): | |||
| 409 | if features != "": | 409 | if features != "": |
| 410 | tspec['features'] = features | 410 | tspec['features'] = features |
| 411 | fpu = d.getVar('TARGET_FPU') | 411 | fpu = d.getVar('TARGET_FPU') |
| 412 | if fpu == "soft": | 412 | if fpu in ["soft", "softfp"]: |
| 413 | tspec['llvm-floatabi'] = "soft" | 413 | tspec['llvm-floatabi'] = "soft" |
| 414 | elif fpu == "hard": | 414 | elif fpu == "hard": |
| 415 | tspec['llvm-floatabi'] = "hard" | 415 | tspec['llvm-floatabi'] = "hard" |
