diff options
author | Hadi Brais <hadi.b@live.com> | 2015-06-06 19:18:06 +0530 |
---|---|---|
committer | Hadi Brais <hadi.b@live.com> | 2015-06-07 18:30:54 +0530 |
commit | 2b6efaeed3b263b3be0be46716205152567e854a (patch) | |
tree | 44027b3ceaf95134e13b35be04587b8ed056b14e /tests/buildtest.cmd | |
parent | 4b21be40517f1348d7f223726decb0f719d09a4b (diff) | |
download | coreclr-2b6efaeed3b263b3be0be46716205152567e854a.tar.gz coreclr-2b6efaeed3b263b3be0be46716205152567e854a.tar.bz2 coreclr-2b6efaeed3b263b3be0be46716205152567e854a.zip |
build,win: Enables Whole Program Optimization.
* Enables whole program optimization for release configuration
on Windows.
* Fixes all messages "/LTCG specified but no code generation required;
remove /LTCG from link command line to improve linker performance"
which slow down the build process.
* Fixes all messages "MSIL .netmodule or module compiled with /GL
found; restarting link with /LTCG; add /LTCG to the link command
line to improve linker performance" which slow down the build
process.
* The previous two fixes work in Release and Debug builds on Windows.
Issue-URL: #1086
Diffstat (limited to 'tests/buildtest.cmd')
-rw-r--r-- | tests/buildtest.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/buildtest.cmd b/tests/buildtest.cmd index 2f44f53d34..f2ca47b814 100644 --- a/tests/buildtest.cmd +++ b/tests/buildtest.cmd @@ -118,7 +118,7 @@ exit /b 1 :GenVSSolution :: Regenerate the VS solution pushd "%__NativeTestIntermediatesDir%" -call "%__SourceDir%\pal\tools\gen-buildsys-win.bat" "%__ProjectFilesDir%\" %__VSVersion% +call "%__SourceDir%\pal\tools\gen-buildsys-win.bat" "%__ProjectFilesDir%\" %__VSVersion% %__BuildType% popd :BuildComponents |