Browse Source

Merge pull request #116 from parched/master

use armv6s-m instead of armv6-m
vs2017
Alex Crichton 8 years ago
committed by GitHub
parent
commit
d46446e667
  1. 6
      src/lib.rs

6
src/lib.rs

@ -515,10 +515,14 @@ impl Config {
}
}
if target.starts_with("thumbv6m") {
cmd.args.push("-march=armv6-m".into());
cmd.args.push("-march=armv6s-m".into());
}
if target.starts_with("thumbv7em") {
cmd.args.push("-march=armv7e-m".into());
if target.ends_with("eabihf") {
cmd.args.push("-mfpu=fpv4-sp-d16".into())
}
}
if target.starts_with("thumbv7m") {
cmd.args.push("-march=armv7-m".into());

Loading…
Cancel
Save