diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java index 25009d270ac..59337601308 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java @@ -174,7 +174,7 @@ public class ManagedBuildGnuToolInfo implements IManagedBuildGnuToolInfo { Vector myEnumeratedInputs = new Vector(); // Complete list of individual inputs IInputType[] inTypes = tool.getInputTypes(); - if (inTypes != null) { + if (inTypes != null && inTypes.length > 0) { for (IInputType type : inTypes) { Vector itCommandInputs = new Vector(); // Inputs for the tool command line for this input-type Vector itCommandDependencies = new Vector(); // Dependencies for the make rule for this input-type