[Lldb-commits] [lldb] r202309 - Remove link_system_libs, unused after LLVM r201969

Ed Maste emaste at freebsd.org
Wed Feb 26 14:39:31 PST 2014


Author: emaste
Date: Wed Feb 26 16:39:31 2014
New Revision: 202309

URL: http://llvm.org/viewvc/llvm-project?rev=202309&view=rev
Log:
Remove link_system_libs, unused after LLVM r201969

Modified:
    lldb/trunk/CMakeLists.txt

Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=202309&r1=202308&r2=202309&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Wed Feb 26 16:39:31 2014
@@ -210,7 +210,6 @@ macro(add_lldb_library name)
   target_link_libraries(${name} ${LLVM_USED_LIBS})
   llvm_config(${name} ${LLVM_LINK_COMPONENTS})
   target_link_libraries(${name} ${LLVM_COMMON_LIBS})
-  link_system_libs(${name})
   if (LLVM_COMMON_DEPENDS)
     add_dependencies(${name} ${LLVM_COMMON_DEPENDS})
   endif()
@@ -235,7 +234,6 @@ macro(add_lldb_executable name)
   add_executable(${name} ${ALL_FILES})
   #target_link_libraries(${name} ${CLANG_USED_LIBS})
   #llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
-  #link_system_libs( ${name} )
   #if (LLVM_COMMON_DEPENDS)
   #add_dependencies(${name} ${LLVM_COMMON_DEPENDS})
   #endif()
@@ -271,16 +269,6 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
   ${DEBUG_SYMBOLS_LIBRARY})
 endif()
 
-# On FreeBSD, link libexecinfo because libc is missing  backtrace()
-if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
-  list(APPEND system_libs execinfo ncurses panel)
-endif()
-
-if (CMAKE_SYSTEM_NAME MATCHES "Linux")
-  list(APPEND system_libs ncurses panel)
-endif()
-
-
 # Disable RTTI by default
 if(NOT LLDB_REQUIRES_RTTI)
   if (NOT MSVC)





More information about the lldb-commits mailing list