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

WITHOUT_LICENSE_TEXTS()

LICENSE(
    Apache-2.0
    WITH
    LLVM-exception
)

VERSION(16.0.6)

ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-16.0.6.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_C_PIC(
    src/cxa_thread_atexit.cpp
    -fno-lto
)

END()