We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ba3d31 commit 6834063Copy full SHA for 6834063
src/tools/run-make-support/src/cc.rs
@@ -162,7 +162,8 @@ pub fn extra_cxx_flags() -> Vec<&'static str> {
162
if is_msvc() { vec![] } else { vec!["-lstdc++"] }
163
} else {
164
match uname() {
165
- n if n.contains("Darwin") => vec!["-lc++"],
+ "Darwin" => vec!["-lc++"],
166
+ "FreeBSD" | "SunOS" | "OpenBSD" => vec![],
167
_ => vec!["-lstdc++"],
168
}
169
0 commit comments