diff --git a/backend/cpp/grpc/Makefile b/backend/cpp/grpc/Makefile index 5308693b33fe..22d7b0b1d41f 100644 --- a/backend/cpp/grpc/Makefile +++ b/backend/cpp/grpc/Makefile @@ -27,6 +27,7 @@ CMAKE_ARGS+=-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF CMAKE_ARGS+=-Dprotobuf_WITH_ZLIB=ON CMAKE_ARGS+=-DRE2_BUILD_TESTING=OFF CMAKE_ARGS+=-DCMAKE_INSTALL_PREFIX=../$(INSTALLED_PACKAGES) +CMAKE_ARGS+=-DCMAKE_POSITION_INDEPENDENT_CODE=ON # windows need to set OPENSSL_NO_ASM. Results in slower crypto performance but doesn't build otherwise. # May be resolvable, but for now its set. More info: https://stackoverflow.com/a/75240504/480673