Skip to content

Commit

Permalink
rustc_target: Build sparc_unknown_linux_gnu with -mcpu=v9 and -m32
Browse files Browse the repository at this point in the history
The previously -mv8plus parameter is supported by GCC only, so let's
use something that the SPARC backend in LLVM supports as well.
  • Loading branch information
glaubitz committed Jun 24, 2024
1 parent a194f42 commit e57bbb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e57bbb3

Please sign in to comment.