1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 12:25:35 +02:00

Fix to resolve the problem in [Bug 177454] Make Target build fails to build subcomponents

This commit is contained in:
Mikhail Sennikovsky 2007-03-22 17:50:33 +00:00
parent a737073765
commit 443e988623

View file

@ -1658,7 +1658,7 @@ public class CommonBuilder extends ACBuilder {
// }
} else {
String args = builder.getBuildArguments();
if (args != null && !args.equals("")) { //$NON-NLS-1$
if (args != null && !(args = args.trim()).equals("")) { //$NON-NLS-1$
String[] newArgs = makeArray(args);
buildArguments = new String[targets.length + newArgs.length];
System.arraycopy(newArgs, 0, buildArguments, 0, newArgs.length);