From 621778bacd1336b3cdfc7cffbb078c85878d56d1 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 27 Jun 2024 09:53:04 +0200 Subject: [PATCH] Add fpic to grpc builds Signed-off-by: Ettore Di Giacinto --- backend/cpp/grpc/Makefile | 1 + 1 file changed, 1 insertion(+) 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