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

Bug 324816 - GnuMakefileGenerator does not properly handle tools which have more than one primary input type

This commit is contained in:
Chris Recoskie 2010-09-10 21:19:03 +00:00
parent 6559679143
commit 505a3552fe

View file

@ -2910,7 +2910,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 {
allRes.add(re);
}
// 2. From InputTypes that other than the primary input type
if (type != tool.getPrimaryInputType()) {
if (!type.getPrimaryInput() && type != tool.getPrimaryInputType()) {
String var = type.getBuildVariable();
if (var != null && var.length() > 0) {
allRes.add(Path.fromOSString("$(" + type.getBuildVariable() + ")")); //$NON-NLS-1$ //$NON-NLS-2$