We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4112a22 commit 8dd16b4Copy full SHA for 8dd16b4
grpc-sys/build.rs
@@ -75,7 +75,9 @@ fn build_grpc(cc: &mut cc::Build, library: &str) {
75
println!("cargo:rustc-link-lib=framework=CoreFoundation");
76
}
77
78
- if env::var("CARGO_CFG_TARGET_ENV").unwrap() == "musl" {
+ if let Some(val) = get_env("CXX") {
79
+ config.define("CMAKE_CXX_COMPILER", val);
80
+ } else if env::var("CARGO_CFG_TARGET_ENV").unwrap() == "musl" {
81
config.define("CMAKE_CXX_COMPILER", "g++");
82
83
0 commit comments