[CMake] Pass through CMAKE_READELF to subbuilds
authorPetr Hosek <phosek@google.com>
Sat, 25 Sep 2021 00:56:00 +0000 (17:56 -0700)
committerPetr Hosek <phosek@google.com>
Sat, 25 Sep 2021 01:20:30 +0000 (18:20 -0700)
commitd893692024b8f05c63329f9a4e5f2432380be27c
treead2703eb7f4d41d47878ac36ad27a619151e36c8
parenta2e1d68fa97de9fe1d8eaf6e03e65c225dfbc52c
[CMake] Pass through CMAKE_READELF to subbuilds

This matches handling of other CMake variables.

Differential Revision: https://reviews.llvm.org/D110463
clang/CMakeLists.txt
compiler-rt/cmake/Modules/AddCompilerRT.cmake
llvm/cmake/modules/LLVMExternalProjectUtils.cmake