[compiler-rt] Fix target architecture matching
authorFrancis Ricci <francisjricci@gmail.com>
Wed, 20 Jul 2016 18:06:31 +0000 (18:06 +0000)
committerFrancis Ricci <francisjricci@gmail.com>
Wed, 20 Jul 2016 18:06:31 +0000 (18:06 +0000)
commitb04a7218304ddbaac9e4b730251681ecbe93b94e
treee7464d7e20c6762ac7e6d3aa7352c79104de6883
parentc0812702f8c10bb196588707b9180cc413d3da60
[compiler-rt] Fix target architecture matching

Summary:
Use stricter comparisons for architecture. This prevents cmake from failing
for sysroots which can only compile armhf and not arm, since
arm MATCHES armhf is true, while arm STREQUAL armhf is false.

Reviewers: beanz, compnerd

Subscribers: aemerson, llvm-commits

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

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