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
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pub fn target() -> Target {
|
||||||
endian: Endian::Big,
|
endian: Endian::Big,
|
||||||
late_link_args: TargetOptions::link_args(
|
late_link_args: TargetOptions::link_args(
|
||||||
LinkerFlavor::Gnu(Cc::Yes, Lld::No),
|
LinkerFlavor::Gnu(Cc::Yes, Lld::No),
|
||||||
&["-mv8plus"],
|
&["-mcpu=v9", "-m32"],
|
||||||
),
|
),
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(32),
|
||||||
..base::linux_gnu::opts()
|
..base::linux_gnu::opts()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue