Browse Source

Use thumb2 as Android/armv7-a's default

cl-test
Makoto Kato 7 years ago
parent
commit
002f8a73ff
  1. 1
      src/lib.rs

1
src/lib.rs

@ -1017,6 +1017,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