aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxrt/ya.make
blob: 568f018f17d75f138d36e93bf7ed02ac2e96d9dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(
    BSD-2-Clause AND
    BSD-2-Clause-Views AND
    BSD-3-Clause AND
    MIT
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(2024-10-14)

ORIGINAL_SOURCE(https://github.com/libcxxrt/libcxxrt/archive/76435c4451aeb5e04e9500b090293347a38cef8d.tar.gz)

ADDINCL(
    contrib/libs/cxxsupp/libcxxrt
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CXXFLAGS(-nostdinc++)

IF (CXX_UNWIND == "glibcxx_dynamic" OR ARCH_PPC64LE)
    LDFLAGS(-lgcc_s)
ELSE()
    PEERDIR(
        contrib/libs/libunwind
    )
ENDIF()

IF (SANITIZER_TYPE == undefined OR FUZZING)
    NO_SANITIZE()
    NO_SANITIZE_COVERAGE()
ENDIF()

SRCS(
    auxhelper.cc
    dynamic_cast.cc
    exception.cc
    guard.cc
    memory.cc
    stdexcept.cc
    typeinfo.cc
)

END()