about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-06-03 15:24:35 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-06-03 15:24:35 -0700
commitcb7d91488043df645b23a9ffd25997386d00e425 (patch)
treeafa7ba474d0a4abbe94d4d298e8b0d51f2dcd7c9 /src/rustllvm/ExecutionEngineWrapper.cpp
parentc800b22e95f93ac55cc001b87bfa34852995c3c9 (diff)
downloadrust-cb7d91488043df645b23a9ffd25997386d00e425.tar.gz
rust-cb7d91488043df645b23a9ffd25997386d00e425.zip
mk: Compile C code on MSVC with /MD
On MSVC there are two ways that the CRT can be linked, either statically or
dynamically. Each object file produced by the compiler is compiled against
msvcrt (a dll) or libcmt (a static library). When the linker is dealing with
more than one object file, it requires that all object files link to the same
CRT, or else the linker will spit out some errors.

For now, compile code with `-MD` as it seems to appear more often in C libraries
so we'll stick with the same trend.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions