diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-06 18:33:33 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-06 18:33:33 +0300 |
commit | 40b71ca5f57840f038abe9fd4f0615f92b8dece8 (patch) | |
tree | 5a257c817c11203ee636535cace605aecca3c282 /contrib/tools/protoc/bin | |
parent | 61b49a878a33977897d44f72118d6791ac3794fa (diff) | |
download | ydb-40b71ca5f57840f038abe9fd4f0615f92b8dece8.tar.gz |
intermediate changes
ref:e8092279aeb152c7934ef72249a90434dbbe4318
Diffstat (limited to 'contrib/tools/protoc/bin')
-rw-r--r-- | contrib/tools/protoc/bin/CMakeLists.darwin.txt | 9 | ||||
-rw-r--r-- | contrib/tools/protoc/bin/CMakeLists.linux.txt | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/contrib/tools/protoc/bin/CMakeLists.darwin.txt b/contrib/tools/protoc/bin/CMakeLists.darwin.txt index 00c5ae2afa..81fe0970e1 100644 --- a/contrib/tools/protoc/bin/CMakeLists.darwin.txt +++ b/contrib/tools/protoc/bin/CMakeLists.darwin.txt @@ -14,14 +14,13 @@ target_link_libraries(protoc PUBLIC library-cpp-cpuid_check contrib-libs-protoc ) -target_sources(protoc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc -) -target_link_flags(protoc - PUBLIC +target_link_options(protoc PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(protoc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc +) vcs_info(protoc) diff --git a/contrib/tools/protoc/bin/CMakeLists.linux.txt b/contrib/tools/protoc/bin/CMakeLists.linux.txt index d0e1886d1e..59419fb969 100644 --- a/contrib/tools/protoc/bin/CMakeLists.linux.txt +++ b/contrib/tools/protoc/bin/CMakeLists.linux.txt @@ -15,11 +15,7 @@ target_link_libraries(protoc PUBLIC library-cpp-cpuid_check contrib-libs-protoc ) -target_sources(protoc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc -) -target_link_flags(protoc - PUBLIC +target_link_options(protoc PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -29,4 +25,7 @@ target_link_flags(protoc -lrt -ldl ) +target_sources(protoc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc +) vcs_info(protoc) |