We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a83e6c7 commit 1c191c3Copy full SHA for 1c191c3
src/librustc_codegen_ssa/back/link.rs
@@ -841,6 +841,12 @@ pub fn linker_and_flavor(sess: &Session) -> (PathBuf, LinkerFlavor) {
841
}
842
LinkerFlavor::Gcc => {
843
if cfg!(target_os = "solaris") {
844
+ // On historical Solaris systems, "cc" may have
845
+ // been Sun Studio, which is not flag-compatible
846
+ // with "gcc". This history casts a long shadow,
847
+ // and many modern illumos distributions today
848
+ // ship GCC as "gcc" without also making it
849
+ // available as "cc".
850
"gcc"
851
} else {
852
"cc"
0 commit comments