This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Fix check for cross-compiling
ClosedPublic

Authored by ellis on Aug 18 2022, 6:01 AM.

Details

Summary

When checking if we are cross-compiling, use CMAKE_HOST_SYSTEM_NAME
rather than CMAKE_HOST_SYSTEM which seems to have the full version
number attached.

Diff Detail