summaryrefslogtreecommitdiff
path: root/tests/buildtest.cmd
diff options
context:
space:
mode:
authorHadi Brais <hadi.b@live.com>2015-06-06 19:18:06 +0530
committerHadi Brais <hadi.b@live.com>2015-06-07 18:30:54 +0530
commit2b6efaeed3b263b3be0be46716205152567e854a (patch)
tree44027b3ceaf95134e13b35be04587b8ed056b14e /tests/buildtest.cmd
parent4b21be40517f1348d7f223726decb0f719d09a4b (diff)
downloadcoreclr-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.cmd2
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