Skip to content

Commit

Permalink
Fix compilation of C++ code for armv7-unknown-linux-gnueabihf (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical authored Nov 22, 2024
1 parent 6a1def4 commit 5e3c257
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2193,6 +2193,7 @@ impl Build {
if target.abi == "eabihf" {
// lowest common denominator FPU
cmd.args.push("-mfpu=vfpv3-d16".into());
cmd.args.push("-mfloat-abi=hard".into());
}
}

Expand Down

0 comments on commit 5e3c257

Please sign in to comment.