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:
John Paul Adrian Glaubitz 2024-06-24 16:48:12 +02:00
parent a194f42d21
commit e57bbb3779

View file

@ -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()