]> git.lizzy.rs Git - rust.git/commit
mk: Add build system support for cl.exe
authorAlex Crichton <alex@alexcrichton.com>
Mon, 11 May 2015 21:07:42 +0000 (14:07 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 19 May 2015 17:52:57 +0000 (10:52 -0700)
commitfcf7ecd1d709c3a4ecc652349763710914271fb0
treee84f9a6d0945b8a0866de2dd4ef4117937c8d3b6
parentb56d47cc80a7df471c0e2f96fa62a3e3983972ec
mk: Add build system support for cl.exe

We have a number of support C/C++ files in Rust that we link into the standard
library and other various locations, and these all need to be built with cl.exe
instead of gcc.exe when targeting MSVC. This commit adds helper macros for this
functionality to use different sets of programs/flags/invocations on MSVC than
on GNU-like platforms.
mk/platform.mk
mk/rt.mk