mirror of https://github.com/grpc/grpc-java.git
Fixing compiler build on OS X (Clang)
This commit is contained in:
parent
e5269899b7
commit
f12996086b
|
|
@ -22,7 +22,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
binaries.all {
|
binaries.all {
|
||||||
if (toolChain in Gcc) {
|
if (toolChain in Gcc || toolChain in Clang) {
|
||||||
cppCompiler.args "-std=c++11"
|
cppCompiler.args "-std=c++11"
|
||||||
if (System.env.CXXFLAGS) {
|
if (System.env.CXXFLAGS) {
|
||||||
cppCompiler.args System.env.CXXFLAGS
|
cppCompiler.args System.env.CXXFLAGS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue