aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/ya.make
diff options
context:
space:
mode:
authorMikhail Borisov <borisov.mikhail@gmail.com>2022-02-10 16:45:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:39 +0300
commita6a92afe03e02795227d2641b49819b687f088f8 (patch)
treef6984a1d27d5a7ec88a6fdd6e20cd5b7693b6ece /contrib/libs/cxxsupp/libcxx/ya.make
parentc6dc8b8bd530985bc4cce0137e9a5de32f1087cb (diff)
downloadydb-a6a92afe03e02795227d2641b49819b687f088f8.tar.gz
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/ya.make')
-rw-r--r--contrib/libs/cxxsupp/libcxx/ya.make42
1 files changed, 21 insertions, 21 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/ya.make b/contrib/libs/cxxsupp/libcxx/ya.make
index 15403fe6d5..961b31241d 100644
--- a/contrib/libs/cxxsupp/libcxx/ya.make
+++ b/contrib/libs/cxxsupp/libcxx/ya.make
@@ -56,16 +56,16 @@ ELSEIF (OS_IOS)
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
- DEFAULT(CXX_RT "glibcxx_static")
+ IF (ARCH_ARM7)
+ # XXX: libcxxrt support for ARM is currently broken
+ DEFAULT(CXX_RT "glibcxx_static")
# ARM7 OS_SDK has old libstdc++ without aligned allocation support
CFLAGS(
GLOBAL -fno-aligned-new
)
- ELSE()
- DEFAULT(CXX_RT "libcxxrt")
- ENDIF()
+ ELSE()
+ DEFAULT(CXX_RT "libcxxrt")
+ ENDIF()
IF (MUSL)
PEERDIR(
contrib/libs/musl/include
@@ -118,8 +118,8 @@ ENDIF()
DEFAULT(CXX_RT "default")
-DISABLE(NEED_GLIBCXX_CXX17_SHIMS)
-
+DISABLE(NEED_GLIBCXX_CXX17_SHIMS)
+
IF (CXX_RT == "libcxxrt")
PEERDIR(
contrib/libs/cxxsupp/libcxxabi-parts
@@ -132,9 +132,9 @@ IF (CXX_RT == "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
+ # 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
ELSEIF (CXX_RT == "glibcxx" OR CXX_RT == "glibcxx_static")
LDFLAGS(
-Wl,-Bstatic
@@ -142,9 +142,9 @@ ELSEIF (CXX_RT == "glibcxx" OR CXX_RT == "glibcxx_static")
-lgcc
-lgcc_eh
-Wl,-Bdynamic
- )
+ )
CXXFLAGS(-D__GLIBCXX__=1)
- ENABLE(NEED_GLIBCXX_CXX17_SHIMS)
+ ENABLE(NEED_GLIBCXX_CXX17_SHIMS)
CFLAGS(
GLOBAL -DLIBCXX_BUILDING_LIBGCC
)
@@ -157,7 +157,7 @@ ELSEIF (CXX_RT == "glibcxx_dynamic")
CFLAGS(
GLOBAL -DLIBCXX_BUILDING_LIBGCC
)
- ENABLE(NEED_GLIBCXX_CXX17_SHIMS)
+ ENABLE(NEED_GLIBCXX_CXX17_SHIMS)
ELSEIF (CXX_RT == "glibcxx_driver")
CXXFLAGS(-D__GLIBCXX__=1)
ELSEIF (CXX_RT == "default")
@@ -166,17 +166,17 @@ ELSE()
MESSAGE(FATAL_ERROR "Unexpected CXX_RT value: ${CXX_RT}")
ENDIF()
-IF (NEED_GLIBCXX_CXX17_SHIMS)
- IF (GCC)
- # Assume GCC is bundled with a modern enough version of C++ runtime
+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")
- # Prior to ubuntu-18, system C++ runtime for C++17 is incomplete
+ # Prior to ubuntu-18, system C++ runtime for C++17 is incomplete
SRCS(
glibcxx_eh_cxx17.cpp
)
- ENDIF()
-ENDIF()
-
+ ENDIF()
+ENDIF()
+
NO_UTIL()
NO_RUNTIME()