mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 318331 changing an option value on a top-level resource may not correctly rebuild all changed children.
This commit is contained in:
parent
c44a70063a
commit
87ec745a57
1 changed files with 5 additions and 1 deletions
|
@ -625,7 +625,11 @@ public abstract class HoldsOptions extends BuildObject implements IHoldsOptions,
|
|||
for (Option option : getOptionCollection())
|
||||
if (option.needsRebuild())
|
||||
return true;
|
||||
|
||||
|
||||
// Bug 318331 If the parent needs a rebuild, then we do too as we may inherit options from our superClass...
|
||||
if (superClass != null && superClass.needsRebuild())
|
||||
return true;
|
||||
|
||||
return rebuildState;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue