aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/ya.make
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:08 +0300
commit4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch)
tree506dac10f5df94fab310584ee51b24fc5a081c22 /contrib/libs/cxxsupp/libcxx/ya.make
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
downloadydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/ya.make')
-rw-r--r--contrib/libs/cxxsupp/libcxx/ya.make78
1 files changed, 39 insertions, 39 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/ya.make b/contrib/libs/cxxsupp/libcxx/ya.make
index 15403fe6d5..145517817e 100644
--- a/contrib/libs/cxxsupp/libcxx/ya.make
+++ b/contrib/libs/cxxsupp/libcxx/ya.make
@@ -15,7 +15,7 @@ VERSION(2021-04-02-7959d59028dd126416cdf10dbbd22162922e1336)
OWNER(
halyavin
somov
- g:cpp-committee
+ g:cpp-committee
g:cpp-contrib
)
@@ -28,33 +28,33 @@ CXXFLAGS(-D_LIBCPP_BUILDING_LIBRARY)
IF (OS_ANDROID)
DEFAULT(CXX_RT "default")
IF (ARCH_I686 OR ARCH_ARM7)
- # 32-bit architectures require additional libandroid_support.so to be linked
- # We add --start-group / --end-group statements due to the issue in NDK < r22.
- # See: https://github.com/android/ndk/issues/1130
- #
- # Though these statements are not respected by LLD, they might have sense for other linkers.
- LDFLAGS(
- -Wl,--start-group
- -lc++abi
- -landroid_support
- -Wl,--end-group
- )
- ELSE()
- LDFLAGS(-lc++abi)
+ # 32-bit architectures require additional libandroid_support.so to be linked
+ # We add --start-group / --end-group statements due to the issue in NDK < r22.
+ # See: https://github.com/android/ndk/issues/1130
+ #
+ # Though these statements are not respected by LLD, they might have sense for other linkers.
+ LDFLAGS(
+ -Wl,--start-group
+ -lc++abi
+ -landroid_support
+ -Wl,--end-group
+ )
+ ELSE()
+ LDFLAGS(-lc++abi)
ENDIF()
CFLAGS(
-DLIBCXX_BUILDING_LIBCXXABI
)
ELSEIF (OS_IOS)
- # Take cxxabi implementation from system.
+ # Take cxxabi implementation from system.
LDFLAGS(-lc++abi)
CFLAGS(
-DLIBCXX_BUILDING_LIBCXXABI
)
- # Yet take builtins library from Arcadia
- PEERDIR(
- contrib/libs/cxxsupp/builtins
- )
+ # Yet take builtins library from Arcadia
+ PEERDIR(
+ contrib/libs/cxxsupp/builtins
+ )
ELSEIF (CLANG OR MUSL OR OS_DARWIN OR USE_LTO)
IF (ARCH_ARM7)
# XXX: libcxxrt support for ARM is currently broken
@@ -120,18 +120,18 @@ DEFAULT(CXX_RT "default")
DISABLE(NEED_GLIBCXX_CXX17_SHIMS)
-IF (CXX_RT == "libcxxrt")
- PEERDIR(
- contrib/libs/cxxsupp/libcxxabi-parts
- contrib/libs/cxxsupp/libcxxrt
+IF (CXX_RT == "libcxxrt")
+ PEERDIR(
+ contrib/libs/cxxsupp/libcxxabi-parts
+ contrib/libs/cxxsupp/libcxxrt
contrib/libs/cxxsupp/builtins
- )
+ )
ADDINCL(
contrib/libs/cxxsupp/libcxxrt
)
- CFLAGS(
- GLOBAL -DLIBCXX_BUILDING_LIBCXXRT
- )
+ CFLAGS(
+ GLOBAL -DLIBCXX_BUILDING_LIBCXXRT
+ )
# These builtins are equivalent to clang -rtlib=compiler_rt and
# are needed by potentially any code generated by clang.
# With glibcxx runtime, builtins are provided by libgcc
@@ -145,22 +145,22 @@ ELSEIF (CXX_RT == "glibcxx" OR CXX_RT == "glibcxx_static")
)
CXXFLAGS(-D__GLIBCXX__=1)
ENABLE(NEED_GLIBCXX_CXX17_SHIMS)
- CFLAGS(
- GLOBAL -DLIBCXX_BUILDING_LIBGCC
- )
-ELSEIF (CXX_RT == "glibcxx_dynamic")
+ CFLAGS(
+ GLOBAL -DLIBCXX_BUILDING_LIBGCC
+ )
+ELSEIF (CXX_RT == "glibcxx_dynamic")
LDFLAGS(
-lgcc_s
-lstdc++
)
CXXFLAGS(-D__GLIBCXX__=1)
- CFLAGS(
- GLOBAL -DLIBCXX_BUILDING_LIBGCC
- )
+ CFLAGS(
+ GLOBAL -DLIBCXX_BUILDING_LIBGCC
+ )
ENABLE(NEED_GLIBCXX_CXX17_SHIMS)
-ELSEIF (CXX_RT == "glibcxx_driver")
+ELSEIF (CXX_RT == "glibcxx_driver")
CXXFLAGS(-D__GLIBCXX__=1)
-ELSEIF (CXX_RT == "default")
+ELSEIF (CXX_RT == "default")
# Do nothing
ELSE()
MESSAGE(FATAL_ERROR "Unexpected CXX_RT value: ${CXX_RT}")
@@ -169,7 +169,7 @@ ENDIF()
IF (NEED_GLIBCXX_CXX17_SHIMS)
IF (GCC)
# Assume GCC is bundled with a modern enough version of C++ runtime
- ELSEIF (OS_SDK == "ubuntu-12" OR OS_SDK == "ubuntu-14" OR OS_SDK == "ubuntu-16")
+ ELSEIF (OS_SDK == "ubuntu-12" OR OS_SDK == "ubuntu-14" OR OS_SDK == "ubuntu-16")
# Prior to ubuntu-18, system C++ runtime for C++17 is incomplete
SRCS(
glibcxx_eh_cxx17.cpp
@@ -200,8 +200,8 @@ SRCS(
src/condition_variable_destructor.cpp
src/debug.cpp
src/exception.cpp
- src/filesystem/directory_iterator.cpp
- src/filesystem/operations.cpp
+ src/filesystem/directory_iterator.cpp
+ src/filesystem/operations.cpp
src/format.cpp
src/functional.cpp
src/future.cpp