[compiler-rt] Disable ranlib when using libtool
authorShoaib Meenai <smeenai@fb.com>
Fri, 21 Aug 2020 19:54:31 +0000 (12:54 -0700)
committerShoaib Meenai <smeenai@fb.com>
Mon, 24 Aug 2020 20:48:28 +0000 (13:48 -0700)
commit26c1d689ae4cd24d228df1c35a2067fa970c52cc
tree38dd865a9002051229e9c151527908c0d62a935c
parent68bae34c65b30ad3fe01555b4cf3020266cfec85
[compiler-rt] Disable ranlib when using libtool

libtool already produces a table of contents, and ranlib just gives
spurious errors because it doesn't understand universal binaries.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D86365
compiler-rt/cmake/Modules/UseLibtool.cmake