diff options
author | Petr Hosek <phosek@google.com> | 2020-07-14 19:56:10 -0700 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2020-07-14 19:56:10 -0700 |
commit | bcd27d9d73f74f291fbd8b0fd1182e69a327be88 (patch) | |
tree | dc38a0c4853fd1143186f4ee8294227dc867d9e0 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | 8df7af560aebce3f3de3541d039e17331c479831 (diff) | |
download | llvm-bcd27d9d73f74f291fbd8b0fd1182e69a327be88.zip llvm-bcd27d9d73f74f291fbd8b0fd1182e69a327be88.tar.gz llvm-bcd27d9d73f74f291fbd8b0fd1182e69a327be88.tar.bz2 |
Revert "[CMake] Simplify CMake handling for zlib"
This reverts commit 8c1a79dc12f3cc600e16153961cd8cc50ba2c33b because
it fails when zlib isn't installed.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 2 |
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") { |