mirror of https://github.com/grpc/grpc-java.git
fix build on ppc64le (#8141)
This commit is contained in:
parent
50012832de
commit
a6d78c5e3e
|
|
@ -100,7 +100,9 @@ model {
|
|||
} else if (osdetector.os == "windows") {
|
||||
linker.args "-static", "-lprotoc", "-lprotobuf", "-static-libgcc", "-static-libstdc++",
|
||||
"-s"
|
||||
} else {
|
||||
} else if (osdetector.arch == "ppcle_64") {
|
||||
linker.args "-Wl,-Bstatic", "-lprotoc", "-lprotobuf", "-Wl,-Bdynamic", "-lpthread", "-s"
|
||||
} else {
|
||||
// Link protoc, protobuf, libgcc and libstdc++ statically.
|
||||
// Link other (system) libraries dynamically.
|
||||
// Clang under OSX doesn't support these options.
|
||||
|
|
|
|||
Loading…
Reference in New Issue