diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-06-23 15:40:10 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2015-06-23 15:40:10 +0000 |
commit | deed71387f52ec80feb8fe23f0c1ab580288fa1b (patch) | |
tree | 71e10a3b5a94900e5980afe4e3e0c7b98e0deb68 | |
parent | f56cb8b6e05db95f7e937b47d7dd63af462d608a (diff) | |
download | llvm-llvmorg-3.6.2-rc1.zip llvm-llvmorg-3.6.2-rc1.tar.gz llvm-llvmorg-3.6.2-rc1.tar.bz2 |
fix lldb-gdbserver and lldb-platform linking on RHEL 6llvmorg-3.6.2-rc1
This if fix for bug 23774.
Trunk CMake files were changed and fix should be applied to
tools/lldb-server/CMakeLists.txt.
Patch by: Eugene Zelenko
llvm-svn: 240421
-rw-r--r-- | lldb/tools/lldb-gdbserver/CMakeLists.txt | 4 | ||||
-rw-r--r-- | lldb/tools/lldb-platform/CMakeLists.txt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lldb/tools/lldb-gdbserver/CMakeLists.txt b/lldb/tools/lldb-gdbserver/CMakeLists.txt index 1dc2e1c..af31400 100644 --- a/lldb/tools/lldb-gdbserver/CMakeLists.txt +++ b/lldb/tools/lldb-gdbserver/CMakeLists.txt @@ -28,10 +28,12 @@ add_lldb_executable(lldb-gdbserver if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") target_link_libraries(lldb-gdbserver -Wl,--start-group ${LLDB_USED_LIBS} -Wl,--end-group) + target_link_libraries(lldb-gdbserver + -Wl,--start-group ${CLANG_USED_LIBS} -Wl,--end-group) else() target_link_libraries(lldb-gdbserver ${LLDB_USED_LIBS}) + target_link_libraries(lldb-gdbserver ${CLANG_USED_LIBS}) endif() -target_link_libraries(lldb-gdbserver ${CLANG_USED_LIBS}) llvm_config(lldb-gdbserver ${LLVM_LINK_COMPONENTS}) target_link_libraries(lldb-gdbserver ${LLDB_SYSTEM_LIBS}) diff --git a/lldb/tools/lldb-platform/CMakeLists.txt b/lldb/tools/lldb-platform/CMakeLists.txt index d4a1e0a..f184a5f 100644 --- a/lldb/tools/lldb-platform/CMakeLists.txt +++ b/lldb/tools/lldb-platform/CMakeLists.txt @@ -34,10 +34,12 @@ endif() if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") target_link_libraries(lldb-platform -Wl,--start-group ${LLDB_USED_LIBS} -Wl,--end-group) + target_link_libraries(lldb-platform + -Wl,--start-group ${CLANG_USED_LIBS} -Wl,--end-group) else() target_link_libraries(lldb-platform ${LLDB_USED_LIBS}) + target_link_libraries(lldb-platform ${CLANG_USED_LIBS}) endif() -target_link_libraries(lldb-platform ${CLANG_USED_LIBS}) llvm_config(lldb-platform ${LLVM_LINK_COMPONENTS}) target_link_libraries(lldb-platform ${LLDB_SYSTEM_LIBS}) |