Skip to content

Commit 5e3c257

Browse files
authored
Fix compilation of C++ code for armv7-unknown-linux-gnueabihf (#1298)
1 parent 6a1def4 commit 5e3c257

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2193,6 +2193,7 @@ impl Build {
21932193
if target.abi == "eabihf" {
21942194
// lowest common denominator FPU
21952195
cmd.args.push("-mfpu=vfpv3-d16".into());
2196+
cmd.args.push("-mfloat-abi=hard".into());
21962197
}
21972198
}
21982199

0 commit comments

Comments
 (0)