Index: lib/Driver/ToolChains/Arch/Sparc.cpp =================================================================== --- lib/Driver/ToolChains/Arch/Sparc.cpp +++ lib/Driver/ToolChains/Arch/Sparc.cpp @@ -48,11 +48,11 @@ .Case("leon2", "-Av8") .Case("at697e", "-Av8") .Case("at697f", "-Av8") - .Case("leon3", "-Av8") + .Case("leon3", "-Aleon") .Case("ut699", "-Av8") - .Case("gr712rc", "-Av8") - .Case("leon4", "-Av8") - .Case("gr740", "-Av8") + .Case("gr712rc", "-Aleon") + .Case("leon4", "-Aleon") + .Case("gr740", "-Aleon") .Default("-Av8"); } }