mirror of
https://github.com/rust-lang/rust
synced 2024-09-29 21:28:29 +00:00
rustc_target: Build sparc_unknown_linux_gnu with -mcpu=v9 and -m32
The previously -mv8plus parameter is supported by GCC only, so let's use something that the SPARC backend in LLVM supports as well.
This commit is contained in:
parent
a194f42d21
commit
e57bbb3779
|
@ -18,7 +18,7 @@ pub fn target() -> Target {
|
|||
endian: Endian::Big,
|
||||
late_link_args: TargetOptions::link_args(
|
||||
LinkerFlavor::Gnu(Cc::Yes, Lld::No),
|
||||
&["-mv8plus"],
|
||||
&["-mcpu=v9", "-m32"],
|
||||
),
|
||||
max_atomic_width: Some(32),
|
||||
..base::linux_gnu::opts()
|
||||
|
|
Loading…
Reference in a new issue