run-make-support: preserve tooks.mk behavior for EXTRACXXFLAGS
This commit is contained in:
parent
9ba3d315b4
commit
42ecde4e5f
1 changed files with 3 additions and 2 deletions
|
@ -161,8 +161,9 @@ pub fn extra_cxx_flags() -> Vec<&'static str> {
|
|||
if is_windows() {
|
||||
if is_msvc() { vec![] } else { vec!["-lstdc++"] }
|
||||
} else {
|
||||
match uname() {
|
||||
n if n.contains("Darwin") => vec!["-lc++"],
|
||||
match &uname()[..] {
|
||||
"Darwin" => vec!["-lc++"],
|
||||
"FreeBSD" | "SunOS" | "OpenBSD" => vec![],
|
||||
_ => vec!["-lstdc++"],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue