summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-04-17 17:41:55 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-04-17 17:41:55 +0000
commit823638639ce03a94519a7347eb5f6ec604f9cba0 (patch)
tree2fdd576c9f65a25bb994f6b9e8ceb1c8c3a2eb8c /lldb/source/Plugins/ObjectFile
parent9e90b62e018d8983d3477f3f1a4abeb685e50ae9 (diff)
downloadbcm5719-llvm-823638639ce03a94519a7347eb5f6ec604f9cba0.tar.gz
bcm5719-llvm-823638639ce03a94519a7347eb5f6ec604f9cba0.zip
Fix Linux build of LLDB
- conditionally build mac-specific plugins only on mac (PluginObjectFileMachO, PluginDynamicLoaderDrawinKernel and PluginDynamicLoaderMacOSXDYLD) - clean up warnings by ignoring deprecated declarations (auto_ptr for example) llvm-svn: 179694
Diffstat (limited to 'lldb/source/Plugins/ObjectFile')
-rw-r--r--lldb/source/Plugins/ObjectFile/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/CMakeLists.txt b/lldb/source/Plugins/ObjectFile/CMakeLists.txt
index 14861ab99a3..1d828851b8b 100644
--- a/lldb/source/Plugins/ObjectFile/CMakeLists.txt
+++ b/lldb/source/Plugins/ObjectFile/CMakeLists.txt
@@ -1,3 +1,5 @@
add_subdirectory(ELF)
-add_subdirectory(Mach-O)
+if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
+ add_subdirectory(Mach-O)
+endif ()
add_subdirectory(PECOFF)
OpenPOWER on IntegriCloud