Browse Source

Merge pull request #148 from pietro/android-arm-flags

Use softfp float ABI on 32bit ARM Android GCC.
vs2017
Alex Crichton 8 years ago
committed by GitHub
parent
commit
ed4808cc41
  1. 1
      src/lib.rs

1
src/lib.rs

@ -602,6 +602,7 @@ impl Config {
if target.starts_with("armv7-linux-androideabi") { if target.starts_with("armv7-linux-androideabi") {
cmd.args.push("-march=armv7-a".into()); cmd.args.push("-march=armv7-a".into());
cmd.args.push("-mfpu=vfpv3-d16".into()); cmd.args.push("-mfpu=vfpv3-d16".into());
cmd.args.push("-mfloat-abi=softfp".into());
} }
// For us arm == armv6 by default // For us arm == armv6 by default

Loading…
Cancel
Save