mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
libc++abi: remove build infrastructure for unwind
This removes the libunwind build infrastructure as libunwind is gaining its own CMakeLists.txt. The removal must occur first due to the multiple definitions of the same target. llvm-svn: 235794
This commit is contained in:
parent
e3654ce7ab
commit
a121d08ff8
@ -300,16 +300,14 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBCXXABI_C_FLAGS}")
|
||||
#===============================================================================
|
||||
|
||||
include_directories(include)
|
||||
include_directories(../libunwind/include)
|
||||
if (LIBCXXABI_USE_LLVM_UNWINDER)
|
||||
include_directories(${LLVM_MAIN_SRC_DIR}/projects/libunwind/include)
|
||||
endif ()
|
||||
|
||||
# Add source code. This also contains all of the logic for deciding linker flags
|
||||
# soname, etc...
|
||||
add_subdirectory(src)
|
||||
|
||||
if (LIBCXXABI_USE_LLVM_UNWINDER)
|
||||
add_subdirectory(../libunwind/src "${CMAKE_CURRENT_BINARY_DIR}/libunwind")
|
||||
endif()
|
||||
|
||||
if(NOT LIBCXXABI_ENABLE_SHARED)
|
||||
# TODO: Fix the libc++ cmake files so that libc++abi can be statically linked.
|
||||
# As it is now, libc++ will prefer linking against a dynamic libc++abi in the
|
||||
|
Loading…
Reference in New Issue
Block a user