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:
parent
570ffcfacb
commit
7d445dd496
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
// }
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue