Browse Source

Don't need -fPIC on windows-gnu

add-rc-path
Alex Crichton 9 years ago
parent
commit
e429c775dc
  1. 2
      src/lib.rs

2
src/lib.rs

@ -399,7 +399,7 @@ impl Config {
cmd.arg("-m64");
}
if !target.contains("i686") {
if !target.contains("i686") && !target.contains("windows-gnu") {
cmd.arg("-fPIC");
}
}

Loading…
Cancel
Save