diff options
author | Michal Gorny <mgorny@gentoo.org> | 2017-02-08 20:08:29 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2017-02-08 20:08:29 +0000 |
commit | a028b33c7ff5b1c4de61a6e8b9c0734a49b04bd8 (patch) | |
tree | 7586157f2f8e6d0bba1220cc90e3e2945e691399 /llvm/lib/MC/MCDisassembler/MCDisassembler.cpp | |
parent | 7d0f0e3eb84c67034fd41a68b799362759958918 (diff) | |
download | llvm-a028b33c7ff5b1c4de61a6e8b9c0734a49b04bd8.zip llvm-a028b33c7ff5b1c4de61a6e8b9c0734a49b04bd8.tar.gz llvm-a028b33c7ff5b1c4de61a6e8b9c0734a49b04bd8.tar.bz2 |
[test] Fix zlib cond when building stand-alone, clean up
Fix the test zlib conditional to use LLVM_ENABLE_ZLIB value when
building stand-alone. The HAVE_LIBZ is not available when performing
a stand-alone build. Since the zlib support is a feature of
the underlying LLVM library, it exports the actual status as the final
value of LLVM_ENABLE_ZLIB in LLVMConfig.
While at it, canonicalize the boolean value into 0/1 and remove unused
CMake definitions (most likely copied from clang).
Differential Revision: https://reviews.llvm.org/D29340
llvm-svn: 294508
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/MCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions