aboutsummaryrefslogtreecommitdiffstats
path: root/tools/rescompiler/bin
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-06 18:33:33 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-06 18:33:33 +0300
commit40b71ca5f57840f038abe9fd4f0615f92b8dece8 (patch)
tree5a257c817c11203ee636535cace605aecca3c282 /tools/rescompiler/bin
parent61b49a878a33977897d44f72118d6791ac3794fa (diff)
downloadydb-40b71ca5f57840f038abe9fd4f0615f92b8dece8.tar.gz
intermediate changes
ref:e8092279aeb152c7934ef72249a90434dbbe4318
Diffstat (limited to 'tools/rescompiler/bin')
-rw-r--r--tools/rescompiler/bin/CMakeLists.darwin.txt9
-rw-r--r--tools/rescompiler/bin/CMakeLists.linux.txt9
2 files changed, 8 insertions, 10 deletions
diff --git a/tools/rescompiler/bin/CMakeLists.darwin.txt b/tools/rescompiler/bin/CMakeLists.darwin.txt
index a0b217f764..b3a00b437d 100644
--- a/tools/rescompiler/bin/CMakeLists.darwin.txt
+++ b/tools/rescompiler/bin/CMakeLists.darwin.txt
@@ -14,14 +14,13 @@ target_link_libraries(rescompiler PUBLIC
library-cpp-cpuid_check
library-cpp-resource
)
-target_sources(rescompiler PRIVATE
- ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp
-)
-target_link_flags(rescompiler
- PUBLIC
+target_link_options(rescompiler PRIVATE
-Wl,-no_deduplicate
-Wl,-sdk_version,10.15
-fPIC
-fPIC
)
+target_sources(rescompiler PRIVATE
+ ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp
+)
vcs_info(rescompiler)
diff --git a/tools/rescompiler/bin/CMakeLists.linux.txt b/tools/rescompiler/bin/CMakeLists.linux.txt
index 1e812927a1..970f878c13 100644
--- a/tools/rescompiler/bin/CMakeLists.linux.txt
+++ b/tools/rescompiler/bin/CMakeLists.linux.txt
@@ -15,11 +15,7 @@ target_link_libraries(rescompiler PUBLIC
library-cpp-cpuid_check
library-cpp-resource
)
-target_sources(rescompiler PRIVATE
- ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp
-)
-target_link_flags(rescompiler
- PUBLIC
+target_link_options(rescompiler PRIVATE
-ldl
-lrt
-Wl,--no-as-needed
@@ -29,4 +25,7 @@ target_link_flags(rescompiler
-lrt
-ldl
)
+target_sources(rescompiler PRIVATE
+ ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp
+)
vcs_info(rescompiler)