diff options
author | Petr Hosek <phosek@google.com> | 2020-07-23 15:12:42 -0700 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2020-07-23 15:12:42 -0700 |
commit | 38c71b7c85cac4c8de39329ff3ed682e63f61525 (patch) | |
tree | d808068f727537568ca5a35a82562b721083e111 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | b83417aa7e26ca76c433ec5befdecd5c571408a6 (diff) | |
download | llvm-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.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") { |