openbsd-i686: use lld as linker by default

standard binutils on openbsd is too old to do proper job with i128
code.
This commit is contained in:
Sébastien Marie 2018-05-12 09:46:07 +02:00
parent c705877b1d
commit 0bef240277

View File

@ -15,6 +15,7 @@ pub fn target() -> TargetResult {
base.cpu = "pentium4".to_string();
base.max_atomic_width = Some(64);
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-m32".to_string());
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-fuse-ld=lld".to_string());
base.stack_probes = true;
Ok(Target {