1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 06:44:10 +02:00

Fix for pdb warning on release builds

This commit is contained in:
Brian Fiete 2020-05-15 17:01:56 -07:00
parent a1729e8297
commit 372bb5f32f
2 changed files with 10 additions and 5 deletions

View file

@ -945,7 +945,12 @@ namespace IDE
IDEUtils.AppendWithOptionalQuotes(linkLine, ltoPath);
}
}
if (options.mBuildOptions.mBeefLibType != .DynamicDebug)
{
linkLine.Append(" /ignore:4099");
}
var runCmd = gApp.QueueRun(linkerPath, linkLine, gApp.mInstallDir, .UTF16WithBom);
runCmd.mOnlyIfNotFailed = true;
var tagetCompletedCmd = new IDEApp.TargetCompletedCmd(project);