Skip to content

Commit 621778b

Browse files
committed
Add fpic to grpc builds
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 05ac760 commit 621778b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/cpp/grpc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ CMAKE_ARGS+=-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF
2727
CMAKE_ARGS+=-Dprotobuf_WITH_ZLIB=ON
2828
CMAKE_ARGS+=-DRE2_BUILD_TESTING=OFF
2929
CMAKE_ARGS+=-DCMAKE_INSTALL_PREFIX=../$(INSTALLED_PACKAGES)
30+
CMAKE_ARGS+=-DCMAKE_POSITION_INDEPENDENT_CODE=ON
3031

3132
# windows need to set OPENSSL_NO_ASM. Results in slower crypto performance but doesn't build otherwise.
3233
# May be resolvable, but for now its set. More info: https://stackoverflow.com/a/75240504/480673

0 commit comments

Comments
 (0)