diff options
author | reshilkin <reshilkin@yandex-team.com> | 2023-07-26 19:41:21 +0300 |
---|---|---|
committer | reshilkin <reshilkin@yandex-team.com> | 2023-07-26 19:41:21 +0300 |
commit | d59a5a6d332e8ce09508399e7ae7016bf0efb0e8 (patch) | |
tree | 4361b4df125ce2f6734c79ef7f858432a8f0e7e7 /contrib/libs/libunwind | |
parent | c1a0a6dc9351bcf42a4388db5f643525eda156bc (diff) | |
download | ydb-d59a5a6d332e8ce09508399e7ae7016bf0efb0e8.tar.gz |
Add explicit sanitizer dependencies missed before contrib/tools
Diffstat (limited to 'contrib/libs/libunwind')
-rw-r--r-- | contrib/libs/libunwind/CMakeLists.darwin-x86_64.txt | 3 | ||||
-rw-r--r-- | contrib/libs/libunwind/CMakeLists.linux-aarch64.txt | 1 | ||||
-rw-r--r-- | contrib/libs/libunwind/CMakeLists.linux-x86_64.txt | 1 | ||||
-rw-r--r-- | contrib/libs/libunwind/ya.make | 4 |
4 files changed, 9 insertions, 0 deletions
diff --git a/contrib/libs/libunwind/CMakeLists.darwin-x86_64.txt b/contrib/libs/libunwind/CMakeLists.darwin-x86_64.txt index 47aedfab8f..d605a4adb7 100644 --- a/contrib/libs/libunwind/CMakeLists.darwin-x86_64.txt +++ b/contrib/libs/libunwind/CMakeLists.darwin-x86_64.txt @@ -20,6 +20,9 @@ target_compile_options(contrib-libs-libunwind PRIVATE target_include_directories(contrib-libs-libunwind PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include ) +target_link_libraries(contrib-libs-libunwind PUBLIC + cpp-sanitizer-include +) target_sources(contrib-libs-libunwind PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-seh.cpp diff --git a/contrib/libs/libunwind/CMakeLists.linux-aarch64.txt b/contrib/libs/libunwind/CMakeLists.linux-aarch64.txt index 80a28161e0..2043d7aec7 100644 --- a/contrib/libs/libunwind/CMakeLists.linux-aarch64.txt +++ b/contrib/libs/libunwind/CMakeLists.linux-aarch64.txt @@ -22,6 +22,7 @@ target_include_directories(contrib-libs-libunwind PRIVATE ) target_link_libraries(contrib-libs-libunwind PUBLIC contrib-libs-linux-headers + cpp-sanitizer-include ) target_sources(contrib-libs-libunwind PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp diff --git a/contrib/libs/libunwind/CMakeLists.linux-x86_64.txt b/contrib/libs/libunwind/CMakeLists.linux-x86_64.txt index 80a28161e0..2043d7aec7 100644 --- a/contrib/libs/libunwind/CMakeLists.linux-x86_64.txt +++ b/contrib/libs/libunwind/CMakeLists.linux-x86_64.txt @@ -22,6 +22,7 @@ target_include_directories(contrib-libs-libunwind PRIVATE ) target_link_libraries(contrib-libs-libunwind PUBLIC contrib-libs-linux-headers + cpp-sanitizer-include ) target_sources(contrib-libs-libunwind PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp diff --git a/contrib/libs/libunwind/ya.make b/contrib/libs/libunwind/ya.make index 1af0243b61..ff465ee5cb 100644 --- a/contrib/libs/libunwind/ya.make +++ b/contrib/libs/libunwind/ya.make @@ -17,6 +17,10 @@ ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-14.0.6.tar. DISABLE(USE_LTO) +PEERDIR( + library/cpp/sanitizer/include +) + ADDINCL( contrib/libs/libunwind/include ) |