summaryrefslogtreecommitdiff
path: root/crossgen.cmake
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@microsoft.com>2016-03-24 17:36:18 (GMT)
committerKyungwoo Lee <kyulee@microsoft.com>2016-03-24 17:44:05 (GMT)
commit9bc133dfd67980e9496c93bb08de9a03c33e12e3 (patch)
tree980e22348209f48f6842c120ebb4a75918107687 /crossgen.cmake
parentcec26a62bbdf9f72af120ac7ef6fa2e9903684fa (diff)
downloadcoreclr-9bc133dfd67980e9496c93bb08de9a03c33e12e3.zip
coreclr-9bc133dfd67980e9496c93bb08de9a03c33e12e3.tar.gz
coreclr-9bc133dfd67980e9496c93bb08de9a03c33e12e3.tar.bz2
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.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/crossgen.cmake b/crossgen.cmake
index 436203d..999a73f 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)