]> git.lizzy.rs Git - rust.git/commit
Set CMAKE_SYSTEM_NAME when cross-compiling
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Thu, 13 Aug 2020 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Thu, 13 Aug 2020 12:51:06 +0000 (14:51 +0200)
commit91f87bc9bc29461513aaa6252905a7ac0ac303e9
treef573832f8cf432c3337478a27d92913d62db07ec
parent1a7d9f52bc3545631c7485dce65b31742ef81c4d
Set CMAKE_SYSTEM_NAME when cross-compiling

Configure CMAKE_SYSTEM_NAME when cross-compiling in `configure_cmake`,
to tell CMake about target system. Previously this was done only for
LLVM step and now applies more generally to steps using cmake.
src/bootstrap/native.rs