[compiler-rt] Use exact spelling when building for default target
authorPetr Hosek <phosek@chromium.org>
Fri, 16 Nov 2018 04:14:23 +0000 (04:14 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 16 Nov 2018 04:14:23 +0000 (04:14 +0000)
commit5f5c773765b03aae78e324851d4f995580766362
tree4b441f81e4349bc8ca6801506fe9c6aa2fd66e3d
parent1ee2987abcc3cc517e66e5b074db44b8835c0a21
[compiler-rt] Use exact spelling when building for default target

When building for default target only, use exact target spelling
when deriving the name for the per-target runtime directory. This
is necessary for AArch32 where the CMake build by default rewrites
the architecture which leads to unexpected results.

Differential Revision: https://reviews.llvm.org/D54612

llvm-svn: 347022
compiler-rt/cmake/Modules/CompilerRTUtils.cmake