aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxabi-parts/ya.make
blob: c697080e4f34b46285c05ef86f43b0055273dcf4 (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
52
LIBRARY()

WITHOUT_LICENSE_TEXTS()

OWNER(
    g:cpp-committee
    g:cpp-contrib
    heretic
)

LICENSE(
    Apache-2.0
    WITH
    LLVM-exception
)

VERSION(2021-08-17)

ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/f0fcd42495432670664a661e75e7cae7e904dd3e.tar.gz)

ADDINCL(
    contrib/libs/cxxsupp/libcxxabi/include
    contrib/libs/cxxsupp/libcxx/include
    contrib/libs/cxxsupp/libcxx
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

NO_UTIL()

CFLAGS(-D_LIBCXXABI_BUILDING_LIBRARY)

IF (EXPORT_CMAKE)
    # TODO(YMAKE-91) keep flags required for libc++ vendoring in a separate core.conf variable
    CXXFLAGS(GLOBAL -nostdinc++) 
ENDIF()

SRCDIR(contrib/libs/cxxsupp/libcxxabi)

SRCS(
    src/abort_message.cpp
    src/cxa_demangle.cpp
)

SRC_CPP_PIC(
    src/cxa_thread_atexit.cpp
    -fno-lto
)

END()