Browse Source

Add -march=armv7-a for armv7 linux targets

add-rc-path
Fabrice Desré 9 years ago
parent
commit
83a9d4da94
  1. 4
      src/lib.rs

4
src/lib.rs

@ -432,6 +432,10 @@ impl Config {
if target.contains("musl") {
cmd.args.push("-static".into());
}
if target == "armv7-unknown-linux-gnueabihf" {
cmd.args.push("-march=armv7-a".into());
}
}
if self.cpp && !msvc {

Loading…
Cancel
Save