Browse Source

Don't pass SAFESEH to cl.exe

Apparently that's not an option, and presumably it's not super necessary as it's
not cause problems not being passed to the linker.
vs2017
Alex Crichton 8 years ago
parent
commit
a514e25a85
  1. 5
      src/lib.rs

5
src/lib.rs

@ -453,10 +453,7 @@ impl Config {
"1" => cmd.args.push("/O1".into()),
_ => {}
}
if target.contains("i686") {
cmd.args.push("/SAFESEH".into());
} else if target.contains("i586") {
cmd.args.push("/SAFESEH".into());
if target.contains("i586") {
cmd.args.push("/ARCH:IA32".into());
}
} else if nvcc {

Loading…
Cancel
Save