8027480: Build Windows x64 fastdebug builds using /homeparams

Windows x64 fastdebug builds now uses the /homeparams compiler flag

Reviewed-by: dcubed, zgu, lfoltan
This commit is contained in:
Christian Tornqvist 2014-08-20 14:59:33 -07:00
parent 655556a4bf
commit 6f75087c92
5 changed files with 12 additions and 5 deletions

View file

@ -357,7 +357,7 @@ class CompilerInterfaceVC10 extends CompilerInterface {
}
@Override
Vector getDebugCompilerFlags(String opt) {
Vector getDebugCompilerFlags(String opt, String platformName) {
Vector rv = new Vector();
// Set /On option
@ -369,6 +369,10 @@ class CompilerInterfaceVC10 extends CompilerInterface {
addAttr(rv, "RuntimeLibrary", "MultiThreadedDLL");
// Set /Oy- option
addAttr(rv, "OmitFramePointers", "false");
// Set /homeparams for x64 debug builds
if(platformName.equals("x64")) {
addAttr(rv, "AdditionalOptions", "/homeparams");
}
return rv;
}