diff --git a/compiler/rustc_target/src/spec/targets/sparc_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/targets/sparc_unknown_linux_gnu.rs index 6fa50a28c3709..5cee06e4936c9 100644 --- a/compiler/rustc_target/src/spec/targets/sparc_unknown_linux_gnu.rs +++ b/compiler/rustc_target/src/spec/targets/sparc_unknown_linux_gnu.rs @@ -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()