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