diff options
author | dcherednik <dcherednik@ydb.tech> | 2022-10-26 16:40:35 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2022-10-26 16:40:35 +0300 |
commit | b981cca279190176740c3bf5c5b4fd03be51b599 (patch) | |
tree | f5ec6210fdce0e976cbbe4dc8ae78bb6509adf49 /contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt | |
parent | 6dc0de995652f7eeecdbdb88dc98b00bb0653a2f (diff) | |
download | ydb-b981cca279190176740c3bf5c5b4fd03be51b599.tar.gz |
Enable linux-arm platform.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt')
-rw-r--r-- | contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt new file mode 100644 index 0000000000..b5c3cdc400 --- /dev/null +++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt @@ -0,0 +1,36 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(libs-cxxsupp-libcxxabi-parts) +target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC + -nostdinc++ +) +target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE + -D_LIBCXXABI_BUILDING_LIBRARY + -Wno-everything +) +target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx +) +target_sources(libs-cxxsupp-libcxxabi-parts PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/abort_message.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_demangle.cpp +) +set_property( + SOURCE + ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp + APPEND + PROPERTY + COMPILE_OPTIONS + -fPIC + -fno-lto +) |