Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeBuilder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeBuilder.java b/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeBuilder.java
index 6dd417ab759..c8300a305f3 100644
--- a/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeBuilder.java
+++ b/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeBuilder.java
@@ -87,6 +87,9 @@ public class MakeBuilder extends ACBuilder {
if (isClean) {
forgetLastBuiltState();
}
+ } else { // This should really be based of last build state, for now its safer to just
+ // forget last, until we get some kind of build state manager in the CDT Core.
+ forgetLastBuiltState();
}
checkCancel(monitor);
return getProject().getReferencedProjects();

Back to the top