summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2016-12-17 12:48:06 +0000
committerSylvestre Ledru <sylvestre@debian.org>2016-12-17 12:48:06 +0000
commit47b071deff324a76d85280c7ddb7e5dbc7668110 (patch)
treeb88a17d74c54d8bb1d31b804d0a8e3d22cb7f8fb /lldb/scripts/Python
parentfa1030e40b5febfd41af64e1a4114792b91e4bbc (diff)
downloadbcm5719-llvm-47b071deff324a76d85280c7ddb7e5dbc7668110.tar.gz
bcm5719-llvm-47b071deff324a76d85280c7ddb7e5dbc7668110.zip
Support of lldb on Kfreebsd
Summary: Patch by Pino Toscano. Reported in http://bugs.debian.org/835665 Reviewers: tfiala, emaste Subscribers: beanz, mgorny, emaste, krytarowski, brucem, tberghammer, danalbert, srhines, #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D23977 llvm-svn: 290044
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/modules/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/modules/CMakeLists.txt b/lldb/scripts/Python/modules/CMakeLists.txt
index 01ab5771bda..cef7063c6cc 100644
--- a/lldb/scripts/Python/modules/CMakeLists.txt
+++ b/lldb/scripts/Python/modules/CMakeLists.txt
@@ -6,6 +6,6 @@ if (CXX_SUPPORTS_NO_MACRO_REDEFINED)
endif ()
# build the Python readline suppression module only on Linux
-if (CMAKE_SYSTEM_NAME MATCHES "Linux")
+​if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "GNU" OR CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")
add_subdirectory(readline)
endif()
OpenPOWER on IntegriCloud