diff options
author | Kyungwoo Lee <kyulee@microsoft.com> | 2016-03-24 10:36:18 -0700 |
---|---|---|
committer | Kyungwoo Lee <kyulee@microsoft.com> | 2016-03-24 10:44:05 -0700 |
commit | 9bc133dfd67980e9496c93bb08de9a03c33e12e3 (patch) | |
tree | 980e22348209f48f6842c120ebb4a75918107687 /crossgen.cmake | |
parent | cec26a62bbdf9f72af120ac7ef6fa2e9903684fa (diff) | |
download | coreclr-9bc133dfd67980e9496c93bb08de9a03c33e12e3.tar.gz coreclr-9bc133dfd67980e9496c93bb08de9a03c33e12e3.tar.bz2 coreclr-9bc133dfd67980e9496c93bb08de9a03c33e12e3.zip |
Remove static lib dependency on CrossGen
The motivation is for enabling ARM64 which does not have correct static
lib with the current toolset.
But looking at other console apps (ilasm/ildasm/coreconsole/corerun) or
coreclr.dll, they also have dependency on msvcrt for Windows.
So, I've decided to make crossgen.exe with the same flavor.
This changes reduces the binary size -- 10M -> 9M (Debug). Release binary
is slightly smaller.
I've validated this by comparing .ni.dll for all FX assemblies that we use for
tests (under CORE_ROOT), which are identical before and after.
Diffstat (limited to 'crossgen.cmake')
-rw-r--r-- | crossgen.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crossgen.cmake b/crossgen.cmake index 436203dab6..999a73f5f0 100644 --- a/crossgen.cmake +++ b/crossgen.cmake @@ -18,10 +18,6 @@ remove_definitions( -DFEATURE_VERSIONING_LOG ) -if(WIN32) - add_definitions(-MT) -endif(WIN32) - if(FEATURE_READYTORUN) add_definitions(-DFEATURE_READYTORUN_COMPILER) endif(FEATURE_READYTORUN) |