repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Avoid linking libdl unless needed
[llvm-project.git]
/
libc
/
src
/
stdlib
/
CMakeLists.txt
blob
50b7421944dd7bde7a2be5791c6cabdf36945599
1
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
2
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
3
endif()
4
5
add_entrypoint_object(
6
_Exit
7
ALIAS
8
DEPENDS
9
.${LIBC_TARGET_OS}._Exit
10
)
11
12
add_entrypoint_object(
13
abort
14
SRCS
15
abort.cpp
16
HDRS
17
abort.h
18
DEPENDS
19
libc.include.stdlib
20
libc.src.signal.raise
21
._Exit
22
)