Browse Source

Merge pull request #244 from makotokato/android-thumb2

Use Thumb-2 as Android/armv7-a's default
cl-test
Alex Crichton 7 years ago
committed by GitHub
parent
commit
0a2ea72439
  1. 1
      src/lib.rs

1
src/lib.rs

@ -992,6 +992,7 @@ impl Build {
// (specified in the android spec online)
if target.starts_with("armv7-linux-androideabi") {
cmd.args.push("-march=armv7-a".into());
cmd.args.push("-mthumb".into());
cmd.args.push("-mfpu=vfpv3-d16".into());
cmd.args.push("-mfloat-abi=softfp".into());
}

Loading…
Cancel
Save