1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Fix for [Bug 185104] parallel build option - problem with build command

This commit is contained in:
Mikhail Sennikovsky 2007-05-03 15:31:11 +00:00
parent 570ffcfacb
commit 7d445dd496

View file

@ -2246,13 +2246,14 @@ public class Builder extends BuildObject implements IBuilder, IMatchKeyProvider
public void setParallelizationNum(int num) throws CoreException {
// if(num == 0 || supportsParallelBuild()){
parallelNum = new Integer(num);
Integer newParallelNum = new Integer(num);
String curCmd = getParallelizationCmd(getParallelizationNum());
String args = getArgumentsAttribute();
String updatedArgs = removeCmd(args, curCmd);
if(!updatedArgs.equals(args)){
setArgumentsAttribute(updatedArgs);
}
parallelNum = newParallelNum;
setDirty(true);
// }
}