aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/protoc
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 21:42:41 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 21:42:41 +0300
commit5291e2f6c447d149f3dc17006419bc7411478148 (patch)
tree2925d1a7aa1a894f7514fb2181414837e3990799 /contrib/tools/protoc
parent68155b41eaf4cc306f8286e7ce8da6f6af7d93f5 (diff)
downloadydb-5291e2f6c447d149f3dc17006419bc7411478148.tar.gz
intermediate changes
ref:4ec759a52592995211dfd2877771c14eb231e31b
Diffstat (limited to 'contrib/tools/protoc')
-rw-r--r--contrib/tools/protoc/bin/CMakeLists.txt8
-rw-r--r--contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt8
-rw-r--r--contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt8
3 files changed, 24 insertions, 0 deletions
diff --git a/contrib/tools/protoc/bin/CMakeLists.txt b/contrib/tools/protoc/bin/CMakeLists.txt
index fce0c3e05b..45a7af900d 100644
--- a/contrib/tools/protoc/bin/CMakeLists.txt
+++ b/contrib/tools/protoc/bin/CMakeLists.txt
@@ -10,6 +10,14 @@ target_sources(protoc PRIVATE
)
target_link_flags(protoc
PUBLIC
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -Wl,--gdb-index
+ -fPIC
+ -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld
+ -Wl,--no-rosegment
-lpthread
-lrt
-ldl
diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt
index 6cd1298c22..d75d00ca43 100644
--- a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt
+++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt
@@ -10,6 +10,14 @@ target_sources(cpp_styleguide PRIVATE
)
target_link_flags(cpp_styleguide
PUBLIC
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -Wl,--gdb-index
+ -fPIC
+ -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld
+ -Wl,--no-rosegment
-lpthread
-lrt
-ldl
diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt
index 5fdb257c23..ea9e6a8069 100644
--- a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt
+++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt
@@ -17,6 +17,14 @@ target_sources(grpc_cpp PRIVATE
)
target_link_flags(grpc_cpp
PUBLIC
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -Wl,--gdb-index
+ -fPIC
+ -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld
+ -Wl,--no-rosegment
-lpthread
-lrt
-ldl