aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2020-07-23 15:12:42 -0700
committerPetr Hosek <phosek@google.com>2020-07-23 15:12:42 -0700
commit38c71b7c85cac4c8de39329ff3ed682e63f61525 (patch)
treed808068f727537568ca5a35a82562b721083e111 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parentb83417aa7e26ca76c433ec5befdecd5c571408a6 (diff)
downloadllvm-38c71b7c85cac4c8de39329ff3ed682e63f61525.zip
llvm-38c71b7c85cac4c8de39329ff3ed682e63f61525.tar.gz
llvm-38c71b7c85cac4c8de39329ff3ed682e63f61525.tar.bz2
Revert "[CMake] Simplify CMake handling for zlib"
This reverts commit 1d09ecf36175f7910ffedd6d497c07b5c74c22fb since it breaks sanitizer bots.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index d77f7a0..c75d5e1 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -1053,7 +1053,7 @@ void GDBRemoteCommunicationClient::MaybeEnableCompression(
}
#endif
-#if LLVM_ENABLE_ZLIB
+#if defined(HAVE_LIBZ)
if (avail_type == CompressionType::None) {
for (auto compression : supported_compressions) {
if (compression == "zlib-deflate") {