1
Fork 0

rustc_target: Move target env "gnu" from linux_base to linux_gnu_base

This commit is contained in:
Vadim Petrochenkov 2020-11-10 23:32:58 +03:00
parent 38030ffb4e
commit ca17a91fb7
32 changed files with 35 additions and 30 deletions

View file

@ -1,7 +1,7 @@
use crate::spec::{LinkerFlavor, Target, TargetOptions};
pub fn target() -> Target {
let mut base = super::linux_base::opts();
let mut base = super::linux_gnu_base::opts();
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-m32".to_string());
base.max_atomic_width = Some(32);