1
Fork 0

Change related spec files to use the new enum

This commit is contained in:
Lzu Tao 2021-01-05 01:13:27 +00:00
parent fa4d8bc878
commit 8ee804dc2b
25 changed files with 50 additions and 37 deletions

View file

@ -1,8 +1,9 @@
use crate::abi::Endian;
use crate::spec::{LinkerFlavor, Target};
pub fn target() -> Target {
let mut base = super::openbsd_base::opts();
base.endian = "big".to_string();
base.endian = Endian::Big;
base.cpu = "v9".to_string();
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-m64".to_string());
base.max_atomic_width = Some(64);