Revert "Revert "[compiler-rt] Fix check for cross-compiling""
authorEllis Hoag <ellis.sparky.hoag@gmail.com>
Fri, 19 Aug 2022 13:46:22 +0000 (06:46 -0700)
committerEllis Hoag <ellis.sparky.hoag@gmail.com>
Fri, 19 Aug 2022 14:00:51 +0000 (07:00 -0700)
commit5779966da82b8217ad66da890718755226fd32e7
tree99674bce8c14084b0cc6d865cb320f1402431825
parente32799d1d6f84206712076d385a1ce03e0944ab3
Revert "Revert "[compiler-rt] Fix check for cross-compiling""

This reverts commit 18f6b05e0a5a4197bac787f5522669576c134869.

This is a reland of https://reviews.llvm.org/D132130 which I incorrectly
thought had broken the builds.

Differential Revision: https://reviews.llvm.org/D132230
compiler-rt/CMakeLists.txt