commit | 63de5d2a7f88f3e7ef513f991491e68afd26fca6 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Sun Jan 01 20:20:36 2017 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Sun Jan 01 20:20:36 2017 +0000 |
tree | 1a914a49ff0d8ea0b0da06c3962673e3bc5c38d1 | |
parent | f7e84953a527220cab4817a1f10d6a2dad1235b8 [diff] |
build: differentiate between building for and on Windows This is necessary to support cross-compiling a Windows libc++ from Linux. The CMAKE_SYSTEM_HOST_NAME tells you what, in autotools parlance, is known as the build as opposed to WIN32 which maps to, in autotools parlance, host. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290800 91177308-0d34-0410-b5e6-96231b3b80d8